Re: [PHP] php parses but no data inserted

2004-09-21 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be

Re: [PHP] php parses but no data inserted

2004-09-21 Thread John Nichel
[EMAIL PROTECTED] wrote: hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be

Re: [PHP] php parses but no data inserted

2004-09-21 Thread Jason Wong
On Tuesday 21 September 2004 21:37, [EMAIL PROTECTED] wrote: error_reporting(E_ALL); ini_set('display_errors', 1); for good measure. @mysql_select_db(inmarsat_comp) or die (Could not select Database); Lose the '@' whilst developing and always use mysql_error(). -- Jason Wong - Gremlins