scratch that, i had a syntax error in the array..
you were completely right dobromir eval() works perfectly..
thanks!
Brendan wrote:
> 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
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?
cheers!
brendan
Dobromir Velev wrote:
> Hi,
> I think you can use the eval() function to exec
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));
HTH
Dobromir Velev
-