RE: [PHP] MySQL and Array Problem

2001-01-17 Thread Jerry Lake
, January 17, 2001 10:43 AM To: [EMAIL PROTECTED] Subject: [PHP] MySQL and Array Problem I'm trying to store an array into a MySQL table, what datatype should the column be, Varchar? second this is the code I use to store it. mysql_connect("$DBHost","$DBUser","$DBPass

[PHP] MySQL and Array Problem

2001-01-17 Thread Jerry Lake
I'm trying to store an array into a MySQL table, what datatype should the column be, Varchar? second this is the code I use to store it. mysql_connect("$DBHost","$DBUser","$DBPass"); $name = implode(",", $name); mysql("$DBName","INSERT INTO CartItems VALUES ('$UID','$ItemID','$ItemQuantity','$all