|
Posted by Erwin Moller on 01/12/07 09:20
Maximus wrote:
> Guys,
>
> I have a mysql query that grabs data from the table ... the data is
> "variable names" something like $home $about $contact
>
> I need the loop to echo those variables as PHP Code, so that they are
> replaced with the variable value and not the variable name.
>
> any quick function for that?
Hi,
$bla = "myvarname";
$myvarname = "I am some var";
echo $$bla;
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|