Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
nice ! Sérgio Mergen I vaguely remember there being something about this in the user notes at http://php.net/eval If I remember correctly, it was something along the lines of adding a ?> to the beginning of your string, and a -Original Message- > From: Sergio

Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
case, use echo or eval.. but that´s is too much trouble... could it be an easier way to work these thing around?? thanks again for the replies Sérgio Mergen > strip the from the strings and do > eval(); > > HTH > > Regards, > Andrey Hristov > - Original Message

[PHP] database with php code

2001-12-07 Thread Sergio Mergen
Hello in my database i have records that contain php code. i want to put these content on a php file. Here´s the problem: Suppose the content returned from the Db is: $codeFromDB = ""; if i do: echo $codeFromDB; i´d be writing the content to the returned html file, bu i´d like th