thanks dobromir,
unfortunately that doesnt seem to work  ...
although looking at the php manual you seem to be on the right track..
could the way the textfield is parsed & passed back affect the array?


Dobromir Velev wrote:

> Hi,
> I think you can use the eval() function to execute the stored info. The code
> will look something like this
> $res=mysql_query(...)
> eval($row_from_query);
> If you want to change the name of the array you could use
> eval(str_replace("$array","$newarray",$row_from_query));
> Dobromir Velev
> -----Original Message-----
> From: brendan <[EMAIL PROTECTED]>
> Date: Thursday, September 13, 2001 2:20 PM
> Subject: [PHP-DB] array in db field -> actual array
>>i am currently scouring the web for a solution to this but thought i
>>would try here as well ..
>>i have a text field in a mysql database
>>the textfield contains an array written out as
>>now i need to extract this from the db .. simple
>>and use it as an array for a function .. not as simple as i thought it
>>would be
>>$newarray =mysqlquery('etc','etc','etc')
>>and $newarray should be
>>PHP Database Mailing List (
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to