Something like this:
<?php
if (condition)
{
?>
   output this html-block
<?php
}
else
{
?>
    output that html-block
<?php
}
?>

Regards,
Avetis


Martin Thoma wrote:

> Hello !
>
> I want to do something like
>
> if (condition)
>     output this html-block
> else
>     output that html-block
>
> Without printig or echoing the html-block out (because the block has a
> lot of  ", which I all would have to slash out...)
>
> How can I do that ?
>
> Martin
>
> --
> 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-mail: [EMAIL PROTECTED]

--
[EMAIL PROTECTED]
ICT Specialist
UNDP, Armenia



-- 
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-mail: [EMAIL PROTECTED]

Reply via email to