I'm trying to retrieve row[0] from pages table in the db but I keep getting this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/daniel/public_html/govpetitions/index.php on line 76
This is my code:
I would like it if someone could chat with me through msn to work this out... and I'll send whatever files to you for you to look at, I'll implement changes and upload live to check. I want to get this sorted out quickly. I've got 2 weeks before I have to finish this and I've got a lot to do.PHP Code:include ("database.inc");
$query = "SELECT * FROM pages WHERE pages_id= $id";
$mysql_result=mysql_query($query,$conn);
$row=mysql_fetch_row($mysql_result);
echo $row[0];
email me airbrushkits@live.com with your email and add me to msn


LinkBack URL
About LinkBacks

Reply With Quote


