[PHP] SELECT problem..Need urgent help !!!!

2004-11-29 Thread Phpu
Hi, I have an array named $ex_array. I want to search the database and find those ids that are different from the values in $ex_array. I use this but didn't work $sql = SELECT product_id FROM products WHERE product_id '$ex_array' ; Thanks for any help

Re: [PHP] SELECT problem..Need urgent help !!!!

2004-11-29 Thread Greg Donald
On Mon, 29 Nov 2004 17:27:26 +0200, Phpu [EMAIL PROTECTED] wrote: I have an array named $ex_array. I want to search the database and find those ids that are different from the values in $ex_array. I use this but didn't work $sql = SELECT product_id FROM products WHERE product_id

[PHP] select problem

2001-08-15 Thread Roman
I have mysql in redhat linux and apache 1.3.20 with module php 4.0.6 but I have error in my select, connect to the database is ok. In apache and mysql uder windows working this script OK but no in linux. What's wrong ? @$spojenie = mysql_connect("localhost","user","password"); if (!$spojenie)

Re: [PHP] select problem

2001-08-15 Thread Gyozo Papp
] Sent: 2001. augusztus 15. 11:28 Subject: [PHP] select problem I have mysql in redhat linux and apache 1.3.20 with module php 4.0.6 but I have error in my select, connect to the database is ok. In apache and mysql uder windows working this script OK but no in linux. What's wrong