Re: [PHP] eval on php embedded html

2002-01-24 Thread Atanas Vassilev
> So, either: > > > > Or > > I found it very convenient for in-html coding to use the following structure: > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-

RE: [PHP] eval on php embedded html

2002-01-24 Thread Jon Haworth
> value="reg1" ?>> You either need to remove the opening {, or put a corresponding } at the end of the if() statement. So, either: Or HTH Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] eval on php embedded html

2002-01-24 Thread DigitalKoala
hi folks, i'm having a problem using eval. i have some html code interdispersed with php code (proper statement not just variables) in a database. when i fetch the code and display it using : $reg_adv_html=addslashes($reg_adv_html); eval("\$reg_adv_html = \"$reg_adv_html\";"); $reg