Re: [PHP-WIN] MySQL and PHP

2005-08-17 Thread Soheil Noori Bushehri
you may also consider using $mysql = @mysql_connect(...); to get rid of the warning if it is on. On 8/17/05, Paul Menard <[EMAIL PROTECTED]> wrote: > Well you can start with the mysql_connect() call. If you are unable to > connection check the error > code. Then take action if needed. >

Re: [PHP-WIN] MySQL and PHP

2005-08-17 Thread Paul Menard
Well you can start with the mysql_connect() call. If you are unable to connection check the error code. Then take action if needed. --- Jon <[EMAIL PROTECTED]> wrote: > Is there some way to have PHP test if MySQL is running and if not make the > system call to start it? > > This is just an ME

RE: [PHP-WIN] MYSQL and PHP

2001-12-03 Thread Svensson, B.A.T. (HKG)
First of all, this is not an php question. Second of all, if the second insert fails, the only think I can think of, regarding the information you gave, is that u_id is a "not null" field, that is you must supply a value for this field. -Original Message- From: Jordan Arendt To: [EMAIL P