""Wade"" <[EMAIL PROTECTED]> wrote in message
9c6dcb$h8e$[EMAIL PROTECTED]">news:9c6dcb$h8e$[EMAIL PROTECTED]...
> Aside from " (quotes), which HTML characters should be preceded with a \
> (backslash) to avoid parsing errors?

No.

>
> I have the following, which I have in an .inc file outside my web root. I
> have tried sticking the \ in front of the # (pound) and the = (equal) -- not
> out of any reason, but more out of frustration. I have been sticking
> dropdown menu in inc files with no troubles, but this is the first table
> I've tried to stick in there.  I'm trying not to ask questions here until
> after trying to find an answer in PHP.net, but I've had no luck on this one.
> <?
> <table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"
> align=\"center\">
>           <tr bgcolor=\"#ebebd6\">
>
> ....
> ?>

Why you put HTML like this inside PHP code tag? If you need HTML.

Try this

<?php
if ($var === TURE) {
?>
<h1> $var is true </h1>
<?php
}
else {
?>
<h1> $var is false </h1>
<?php
}
?>

Regards,
--
Yasuo Ohgaki

> Much Thanks,
> Wade
>
>
>
> --
> 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]
>


-- 
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