MySQL Forums
Forum List  »  Spanish

Re: No consigo insertar un registro en la base de datos.
Posted by: Luis Adrian Zuluaga Giraldo
Date: April 30, 2008 11:55AM

cambia la ultima parte del codigo por esto

$insertresult =mysql_query($insertquery) or die(mysql_error());if(!$insertresult) {echo "ATENCION! Error insertando los datos en la Base de Datos."; exit;};

mira que agregue:
or die(mysql_error())

y nos dices que error te sale asi podemos ayudarte mas facilmente

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: No consigo insertar un registro en la base de datos.
1842
April 30, 2008 11:55AM


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.