[PHP] Making php execute php

2001-07-18 Thread Gord Gray
I would like to store a mix of php and html in a database and then return the results. I can't figure out how to do this. $abc='div class=bob?php echo $Message ; ?/div' ; ... $Message=Hello World ; ... echo eval ($abc) ; where $abc is actually retrieved from a database. Does not work, but may

RE: [PHP] Making php execute php

2001-07-18 Thread scott [gts]
, or something similar. -Original Message- From: Gord Gray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 10:32 AM To: [EMAIL PROTECTED] Subject: [PHP] Making php execute php I would like to store a mix of php and html in a database and then return the results. I can't figure