Problem with implode() function

From: Date: Tue, 16 Jul 2002 14:40:09 +0000
Subject: Problem with implode() function
Groups: php.general 
Request: Send a blank email to php-general+get-107880@lists.php.net to get a copy of this message
Hi, I have an array of elements which are separated with the operator comma(,). ================================================== $array = implode(",", $checkb); echo $array.'\n'; $result = mysql_query("DELETE FROM temp WHERE inv_tag IN ($array)") or die('Error in query'.mysql_error()); ==================================================== PTX526_P_1,SIM_1 Error in query Unknown column 'PTX526_P_1' in 'where clause'. Thanks and Regards Balaji

**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
« previous php.general (#107880) next »