sqlgetvar does not return result
-
I inserted the following into a test page on our website:
Members = [sqlgetvar]SELECT count(last_name_1)
FROM wp_participants_database WHERE active=’yes’
[/sqlgetvar]users= [sqlgetvar]SELECT COUNT(*) FROM wp_users[/sqlgetvar]
The users count returns no problem, but the count for members is blank. If I run the select statement used in the members in a sql window it returns the proper result.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘sqlgetvar does not return result’ is closed to new replies.