I am getting this weird error with my mysql database. I have 100 pages with
code to access my database. All my queries
work except one. Here is an example
$con = mysql_connect($DB_SERVER, $DB_USER, $DB_PASS)
or die ("Cant connect");
mysql_select_db($DB_NAME);
$rst = mysql_query("SELECT * FROM Description",$con)
or die ("Invalid query");
For some reason I do not get a result back. I tried the query on the mysql
server and everything works fine.
I get this error when fetching a row
Warning: Supplied argument is not a valid MySQL result resource in
/home/httpd/html/Contacts/exportation/exportationContact.php3 on line 19
I really dont know what is going on . I never had trouble with this before
and I am using the same lines all over my code.