SQL Report Works But [sqlgetvar] Does Not
-
I’m trying to pull an SQL value based on the user name. I’ve created a report that functions perfectly but I need to insert a single value into a table. I’m using the shortcode:
[sqlgetvar]SELECT enterprise FROM wp_users WHERE user_login='<?php $current_user->user_login?>'[/sqlgetvar]
I’m really not sure what I’m missing.
Awesome plugin. I thank you for your support.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘SQL Report Works But [sqlgetvar] Does Not’ is closed to new replies.