Re: [PHP] catch the error

2009-02-26 Thread Ashley Sheridan
On Thu, 2009-02-26 at 13:16 -0500, PJ wrote: > Ashley Sheridan wrote: > > On Thu, 2009-02-26 at 12:28 -0500, PJ wrote: > >> What is wrond with this file? same identical insert works from console > >> but not from this file :-( > >> > >> > >> > >> Untitled > >> > >> > >> > >> >> //include ("lib

Re: [PHP] catch the error

2009-02-26 Thread PJ
Ashley Sheridan wrote: > On Thu, 2009-02-26 at 12:28 -0500, PJ wrote: >> What is wrond with this file? same identical insert works from console >> but not from this file :-( >> >> >> >> Untitled >> >> >> >> > //include ("lib/db1.php"); // Connect to database >> mysql_connect('biggie', 'user', '

Re: [PHP] catch the error

2009-02-26 Thread Ashley Sheridan
On Thu, 2009-02-26 at 12:28 -0500, PJ wrote: > What is wrond with this file? same identical insert works from console > but not from this file :-( > > > > Untitled > > > > //include ("lib/db1.php");// Connect to database > mysql_connect('biggie', 'user', 'password', 'test'); > $sql1