MySQL Forums
Forum List  »  Spanish

LEER MENSAJE DE ERROR EN CONSULTA SQL
Posted by: hely rojas
Date: April 03, 2008 11:34AM

Desde luego que mysql permite eso

$query = mysql_query("select * from TABLA_NO_EXISTE")
or die ("ERROR " . mysql_error() );

Si la consulta ejecutada presenta algun error este sera devuelto por la funcion mysql_error()

www.meaviso.com

Options: ReplyQuote


Subject
Views
Written By
Posted
7127
January 03, 2007 11:33AM
3267
January 03, 2007 06:19PM
LEER MENSAJE DE ERROR EN CONSULTA SQL
2213
April 03, 2008 11:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.