Hi all,
I am getting the following error trying to run the below code.
Warning: Supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\data_out.php on line 44
42> $sql = "select * from news";
43> $result = mysql_query($sql);
44> while ($row = mysql_fetch_array($result))
I also pointed out on my php what $sql returns. It looks like mysql_query_$sql) is not returning anything. I have data in my table and I can write to it.
Check out:
http://63.65.24.153/data_out.php
http://63.65.24.153/data_out.txt (source)
For example, this page has no problem writing to the database.
http://63.65.24.153/data_in.php
Please help me concernin this matter
Thanks...
-CompuTurk