I am trying to run multiple queries on some mysql dbs from a php file. However it is not working. Can anyone point out where I am going wrong?
Here is the contents of th
The most important thing to do in such a case is debugging:
@
prefix to see errorsecho mysql_error()
if mysql_query() returns false
to see mySQL's error messagesin your specific case, mysql_query()
is not able to execute more than one statement. The easiest solution is to use two separate commands.