SQL query with WP user email
-
hi,
thanks for your work,
I need to create a query with a field aligned to the user wp account email:
[gdoc key=”wordpress” query=”SELECT nome AS ‘Nome ambiente’, ardu_user AS ‘Arduino name’ FROM app_ambiente2 WHERE user_email = $WORDPRESS_EMAIL “]
$WORDPRESS_EMAIL should be the email associated to the current logged user (get from wordpress),
thanks a lot!!
Andrea
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘SQL query with WP user email’ is closed to new replies.