How to Pass Value of a Variable in a MySQL Query
-
Hello,
How can I put the custom value of the variable in the WHERE Clause? See the example in this Query Below
SELECT first_name, last_name, phone_mobile, postcode, trade_type FROM customer WHERE area_id = ‘”.$value_id.”‘ && trade_id = ‘”.$value_tradeid.”‘What if I have my variable named $value_id and I want it to be used in a query like the above how can do that by using Data Publisher of WP Data Access via Custom Query???
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘How to Pass Value of a Variable in a MySQL Query’ is closed to new replies.