Re: [PHP] database with php code

2001-12-07 Thread Andrey Hristov
strip the ? and ? from the strings and do eval(); HTH Regards, Andrey Hristov - Original Message - From: Sergio Mergen [EMAIL PROTECTED] To: php List (E-mail) [EMAIL PROTECTED] Sent: Friday, December 07, 2001 9:39 PM Subject: [PHP] database with php code Hello in my database i

Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
thanks guys.. your suggestion worked.. but there´s a problem.. the code i´m storing on a database mixs phpcode with html, like this: ?echo php code? br now it´s html br ?echo now it´s php again? how can i deal with that?? one solution would be to split the string into a php code array and a

RE: [PHP] database with php code

2001-12-07 Thread Mark Roedel
To: Andrey Hristov Cc: [EMAIL PROTECTED] Subject: Re: [PHP] database with php code thanks guys.. your suggestion worked.. but there´s a problem.. the code i´m storing on a database mixs phpcode with html, like this: ?echo php code? br now it´s html br ?echo now it´s php again? how

Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
: Friday, December 07, 2001 2:08 PM To: Andrey Hristov Cc: [EMAIL PROTECTED] Subject: Re: [PHP] database with php code thanks guys.. your suggestion worked.. but there´s a problem.. the code i´m storing on a database mixs phpcode with html, like this: ?echo php code? br now it´s html br