Thread: Error?
View Single Post
Old 06-15-2009, 06:14 PM   #8 (permalink)
Randy
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default

Still getting an error:

Quote:
Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\staff\admin\index.php on line 275
CODE:
PHP Code:
LINE 273$sql2="INSERT INTO adminforum_question(topic, detail, name, category, priority, datetime)VALUES('$topic', '$detail', '$name', '$category', '$priority', '$datetime')";
LINE 274$result=mysql_query($sql2);
LINE 275: if(mysql_affected_rows($result) > 0
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote