Seth,

 <?php
 if ($thisVar) {
         if ($myVar) {
                 lots;
                 of;
                 php;
         } else {
                 // End of PHP content
                                ?>
                                 <lots>
                 <of>
                 <html>
                                 <?php
                         // End of HTML content
         }
 }
 ?>

rgd

viraj


Seth Willits wrote:
> 
> On Tuesday, September 2, 2003, at 12:06  AM, Seth Willits wrote:
> 
> >> <?php if ($doo): ?>
> >>
> >>   <html>Lots of</html>
> >>
> >> <?php endif; ?>
> >
> > Awesome. Thanks for the quick reply.
> 
> Hmm.. Actually, how does this work with php & html? This is actually
> what I'm trying to do. I should have said this in the first place,
> sorry :)
> 
> <?php
> if ($thisVar) {
>         if ($myVar) {
>                 lots;
>                 of;
>                 php;
>         } else {
>                 <lots>
>                 <of>
>                 <html>
>         }
> }
> ?>
> 
> Seth Willits
> ------------------------------------------------------------------------
> ---
> President and Head Developer of Freak Software - http://www.freaksw.com
> Q&A Columnist for REALbasic Developer Magazine -
> http://www.rbdeveloper.com
> Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames
> 
> "Read the book! Be patient! All success comes from acquiring knowledge
> and experience."
>          -- Seth Willits
> ------------------------------------------------------------------------
> ---
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to