Re: [PHP] database with php code

2001-12-07 Thread Sergio Mergen
Mergen [mailto:[EMAIL PROTECTED]] > Sent: 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 databa

RE: [PHP] database with php code

2001-12-07 Thread Mark Roedel
> Sent: 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,

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: now it´s html how can i deal with that?? one solution would be to split the string into a php code array and a html code array, and then, depending on the cas

Re: [PHP] database with php code

2001-12-07 Thread Andrey Hristov
strip the 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