mysql template in php -
I have come into this PHP code in a PHP software. What does #section_filter mean? Is this a valid mysql syntax? Or just a template system?
$ filterid = ac_sql_select_one ("SELECT id FROM #section_filter WHERE userid = '$ ary [userid]' and sectionid = 'text' and conds = '$ conds_esc'");
thanks
This is a valid SQL syntax but the problem is I Doubt is that the hash # character creates a comment in SQL queries, so this query can not be executed.
Another possibility is that the program that you viewed this query should be dynamically enabled before changing #section_filter with some table names on mysql engine And then the query should run fine. This is the highest probability in my view.
Comments
Post a Comment