Variable queries / where clauses
-
Firstly, awesome Bobby, thank you!! With only a little head scratching I was up and running in no time.
I believe this is a feature request – I’d like to be able to alter the where clause of a query per url variables. For instance the sql in the add_db_table_editor function might read:
select * from table where id=$var
and then on the wordpress page:
<?php $var=$_GET[“id”]; ?>
[dbte id=mytable]I think I understand why this didn’t work, is there another that would work? Is this a useful feature to you or anyone else? TIA!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Variable queries / where clauses’ is closed to new replies.