My apologies. The answer was in PHP-land.

----- Original Message ----- 
From: "Paul Freedman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 26, 2003 3:26 PM
Subject: putting an array in a column


I'm new at SQL, and am teaching myself. I hope this isn't too basic a
question, but I can't find any reference to this and I'd like not to
hunt-and-peck yet another issue, just this once.

I have a PHP array which is just a sequence of numbers: $ARA = [3,4,7,2,6].
I would like to stash this array in a column of a db, recalling and altering
it from time to time. Of course, $ARA isn't a number of any sort. Is it a
string? Do I need to dismantle it in PHP, re-assemble a string = "3,4,...6",
then disassemble the string and reassemble an array once it's back in PHP?

Any help will be deeply appreciated.

Paul Freedman



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to