How can I evaluate a var that is from a text field of a database?  Example:

MySQL field `name` = hi my name is $name

In my script I have:

$name = "Shawn";

After fetching a query result as an associative array I have the contents of
the `name` field in $data

If I echo $data I get:  hi my name is $name

I would like to get:  hi my name is Shawn


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to