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

Re: [PHP] select problem

2001-08-15 Thread Gyozo Papp
Hi, if your script makes errors on mysql_query() try to printthe errormessages sent back by MySql: mysql_query(...) or die(mysql_error()); see: http://www.php.net/manual/en/function.mysql-error.php - Original Message - From: "Roman" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTE