Re: [PHP] Re: PHP and MySQL bug

2003-01-08 Thread Nuno Lopes
QL List" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 4:12 PM Subject: RE: [PHP] Re: PHP and MySQL bug > Since nobody is jumping in to say it is some simple configuration/setting > personally my next step would be to shut down all services on the box that > aren't absol

Re: [PHP] Re: PHP and MySQL bug

2003-01-08 Thread Nuno Lopes
t;MySQL List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 5:06 PM Subject: Re: [PHP] Re: PHP and MySQL bug > @mysql_select_db("be"); -- this failed > do echo mysql_error(); to see what went wrong > > > > Nuno Lopes wrote: > &

RE: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Larry Brown
* Try add to /etc/hosts the name and ip of DB is located >> I'm using Windows 2000. In Windows2000 make the same changes in winnt/system32/drivers/etc/hosts. If it connects the first time and every time thereafter that you recreate the connection it should not be anything to do with resolving the

RE: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Christensen, Dave
bug I'm using Windows 2000. - Original Message - From: "Cleber" <[EMAIL PROTECTED]> To: "Nuno Lopes" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 10:23 AM Subject: Re: [PHP] Re: PHP and MySQL bug > Try add to /etc/hosts the name and

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Nuno Lopes
I'm using Windows 2000. - Original Message - From: "Cleber" <[EMAIL PROTECTED]> To: "Nuno Lopes" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 10:23 AM Subject: Re: [PHP] Re: PHP and MySQL bug > Try add to /etc/hosts the name and ip of DB

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Marek Kilimajer
'no db was selected') - Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 10:29 PM Subject: RE: [PHP] Re: PHP and MySQL bug > @MYSQL_QUERY("UPDATE d SET h='$h' WHERE id=

RE: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Larry Brown
From: Nuno Lopes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 4:31 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP and MySQL bug I have the latest version of PHP (4.3.0) as module in apache 2.0.43 and mysql 3.23.49. Everything is working fine, except this. With pc

Re: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Nuno Lopes
ED]> Sent: Monday, January 06, 2003 6:28 PM Subject: RE: [PHP] Re: PHP and MySQL bug > This definitely sounds like a buggy installation or there may be some > problem with the communication between the web server and the mysqld. Is > the db on a different machine? Try using mysql_

RE: [PHP] Re: PHP and MySQL bug

2003-01-06 Thread Larry Brown
, 2003 1:09 PM To: MySQL List; [EMAIL PROTECTED] Subject: [PHP] Re: PHP and MySQL bug The problem is if I close the connection and reopen it the query is done, but if I remain with the same connection has the previous query, mysql returns an error. - Original Message - From: "Larry

Re: PHP and MySQL bug

2003-01-06 Thread Jennifer Goodie
: Monday, January 06, 2003 10:09 AM To: MySQL List; [EMAIL PROTECTED] Subject: Re: PHP and MySQL bug The problem is if I close the connection and reopen it the query is done, but if I remain with the same connection has the previous query, mysql returns an error. - Original Message - From

Re: PHP and MySQL bug

2003-01-06 Thread Nuno Lopes
The problem is if I close the connection and reopen it the query is done, but if I remain with the same connection has the previous query, mysql returns an error. - Original Message - From: "Larry Brown" <[EMAIL PROTECTED]> To: "MySQL List" <[EMAIL PROTECTED]> Sent: Sunday, January 05, 20

Re: [PHP] Re: PHP and MySQL bug

2003-01-06 Thread Nuno Lopes
To: <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 10:29 PM Subject: RE: [PHP] Re: PHP and MySQL bug > > > @MYSQL_QUERY("UPDATE d SET h='$h' WHERE id='$id'"); // this > > query doesn't work > > Personally, I'd call it bad

Re: PHP and MySQL bug

2003-01-05 Thread Nuno Lopes
Here is the source code: Seleccione a localização para o download:Localização Principal"; if ($mirrors) { echo " Mirrors"; $m=explode("»",$mirrors); foreach ($m as $v) { $m2=explode("!",$v); echo "$m2[0]"; } echo "Nota: Deve escolher o mirror mais próximo da sua localização, para acelerar o dowloa

Re: PHP and MySQL bug

2003-01-04 Thread Stefan Hinz, iConnect \(Berlin\)
Germany) Tel: +49 30 7970948-0 Fax: +49 30 7970948-3 - Original Message - From: "Nuno Lopes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 11:46 AM Subject: PHP and MySQL bug > Dear Sirs, > > I&#

RE: PHP and MySQL bug

2003-01-04 Thread Larry Brown
quot;..." Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Nuno Lopes [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 04, 2003 5:46 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: PHP and MySQL bug Dear Sirs, I'm using PHP and MySQL to make m

PHP and MySQL bug

2003-01-04 Thread Nuno Lopes
Dear Sirs, I'm using PHP and MySQL to make my programs. But I think I discovered a bug in PHP or in MySQL (I don't know!). In one of my files I have the following: MYSQL_CONNECT("localhost", "**user**", "**pass**"); mysql_select_db("be"); $r=MYSQL_QUERY("SELECT n,u,m,h FROM d WHERE id='$id'");