[PHP-DB] Parse error: syntax error, unexpected T_ELSE

2008-04-15 Thread Javier Viegas
Hi, i have this script wich basically connects to a database and delete a record according to the Id parameter given. The problem is that when i test it i get this error: *Parse error*: syntax error, unexpected T_ELSE in * /var/www/biblio/scripts/delete.php* on line *31 This is the script:

Re: [PHP-DB] Parse error: syntax error, unexpected T_ELSE

2008-04-15 Thread Javier Viegas
, Apr 15, 2008 at 6:03 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Tue, Apr 15, 2008 at 4:49 PM, Javier Viegas [EMAIL PROTECTED] wrote: Hi, i have this script wich basically connects to a database and delete a record according to the Id parameter given. The problem is that when i test