Here is the short path that i am trying to store (the code is actually a parameter for a link):
wisdom2.php?MAXIMID=<?php echo $row_menu['ID']; ?>
However, I get this error message when I try to run a page that tries to extract the php code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? ORDER BY AUTHOR ASC' at line 1
Now, if I were to simply write the same piece of code in a php page, it works fine, does anyone have an answer to why it is not working when the piece of code is stored in a SQL Database?
(Pls don't respond w/ the obvious answer, I need it to be this way for a reason .... )