![]() |
PHP or die mysql error
Thanks in advanced for the help, anyways i'm coding a register script
but im not seeing the mysql_error message, the page when executed doesn't show the actual mysql error ( like it should), it just says mysql_error() database/config.php PHP Code:
PHP Code:
|
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:
Kind regards, LC. |
Thank you, i was able to fix the issue once the mysql error problem was fixed, thanks for your help. I feel stupid, haha.
|
| All times are GMT +1. The time now is 09:30 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.