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

[PHP-WIN] MySQL and PHP

2005-08-17 Thread Jon
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 test machine but I would also like to know how on XP PRO cause I have another test machine available. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP-WIN] MYSQL and PHP

2001-12-03 Thread Svensson, B.A.T. (HKG)
To: [EMAIL PROTECTED] Sent: 2001-12-03 18:26 Subject: [PHP-WIN] MYSQL and PHP Hi, I'm struggling with some php code. I'm trying to insert some info into a mysql DB. I beleive I'm failing on the SQL statement, specifically the WHERE syntax. Can anyone help? bypass = 0

[PHP-WIN] MYSQL and PHP

2001-12-03 Thread Jordan Arendt
Hi, I'm struggling with some php code. I'm trying to insert some info into a mysql DB. I beleive I'm failing on the SQL statement, specifically the WHERE syntax. Can anyone help? bypass = 0 --confirmed $i = 0 works and inserts into the DB. $i=1 works, but doesn't insert into DB.