Quote:
|
Originally Posted by Meesho
Hi mr_fern
i changed it .. what will happen?!
|
mysql_error() returns a string which specifies the last error occured in mysql on a script
for example, if you had:
mysql_query("SELECT * FROM table_doesnt_exist") or die ( mysql_error() );
The script will die when it tries to execute the query and print to the screen that the table doesn't exist.