manual sql query
Posted: Thu Oct 02, 2003 10:27 am
Hello all,
I've created a script that allows the user to execute manual queries.
It seems to work fine in simple queries but when there is a 'LIKE' or even WHERE I get syntax error and the same queries in the 'phpmyadmin' for mysql db works fine.
I've tried the addslashes function but with no success.
any ideas?
I've created a script that allows the user to execute manual queries.
It seems to work fine in simple queries but when there is a 'LIKE' or even WHERE I get syntax error and the same queries in the 'phpmyadmin' for mysql db works fine.
I've tried the addslashes function but with no success.
any ideas?