Posted by Michael Fesser on 01/12/07 09:48
..oO(Maximus)
>That's not the case,
>
>The case is: I have a database table with rows ID and NAME
>
>ID=1 NAME=$home
>ID=2 NAME=$about
>
>I make a mysql_fetch_object that grabs the data and echos it in a
>table. I want it to echo $home where $home is a variable with some
>value.
>
>I need the user to view the $home value .. not the word "$home" itself.
That's exactly what the posted example does. Have a look at variable
variables.
http://www.php.net/manual/en/language.variables.variable.php
Micha
[Back to original message]
|