View Single Post
Old 01-05-2013, 11:25 PM   PM User | #2
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
It's echo'ing that because you are echo'ing the STRING mysql_error() rather than the actual return value of that function.

Try this:
PHP Code:
die("Error: ".mysql_error()); 
Hope it helps,

Kind regards,

LC.

Last edited by LearningCoder; 01-05-2013 at 11:42 PM..
LearningCoder is offline   Reply With Quote