Thread
:
PHP or die mysql error
View Single Post
01-05-2013, 11:25 PM
PM User
|
#
2
LearningCoder
Regular Coder
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
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.
__________________
My Website:
http://www.labtec.0fees.net/Gardenab...ved/?page=home
Last edited by LearningCoder; 01-05-2013 at
11:42 PM
..
LearningCoder
View Public Profile
Visit LearningCoder's homepage!
Find More Posts by LearningCoder