[sqlgetvar]
-
Hi Eli,
I hope you could help me with this issue:
the following querySELECT arg_id FROM vrb_new_arg WHERE arg_id=<?php $_GET[wpda_search_column_arg_id]; ?>
works fine if I use the regulart shortcode
[SQLREPORT name=”sqlvartest”]
However in this form
[sqlgetvar]SELECT arg_id FROM vrb_new_arg WHERE arg_id=<?php $_GET[wpda_search_column_arg_id]; ?>[/sqlgetvar]
I obtain the following result
This SQL Query has not been allowed by an Administrator.
But if I sobstitute the this method <?php $_GET[wpda_search_column_arg_id]; ?> with the actual url parameter like this
[sqlgetvar]SELECT arg_id FROM vrb_new_arg WHERE arg_id=2 [/sqlgetvar]
the result is correct
could you help me with this?
thanks a lot
Daniele
The page I need help with: [log in to see the link]
- The topic ‘[sqlgetvar]’ is closed to new replies.