A Test Page

SQL:SELECT wmt.*, wu.*, wum1.meta_value AS first_name, wum2.meta_value AS last_name FROM wp_mepr_transactions wmt JOIN wp_users wu ON wu.ID = wmt.user_id JOIN wp_usermeta wum1 ON (wum1.user_id = wu.ID AND wum1.meta_key = 'first_name' JOIN wp_usermeta wum2 ON (wum2.user_id = wu.ID AND wum2.meta_key = 'last_name' WHERE 1 AND wmt.expires_at > NOW() AND wmt.status = 'complete' ORDER BY last_name, first_name

OPTIONS: Array
(
)
End of TESTPHP
0 0items

Your shopping cart is empty.

Items/Products added to Cart will show here.