Google
  Web www.spinics.net

Re: Printing large pieces of HTML markup inside the <?php ?> tags..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Are you referring to the HEREDOC syntax?

http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

Sent from my iPhone 4s

On Jun 14, 2012, at 12:10 AM, "Jacob Kruger" <jacob@xxxxxxxxxxxxx> wrote:

> Came across some code/script/markup similar to the following syntax, and not too sure if it falls under a specific template framework, etc.?:
> 
> <?php
>    print <<<HTML
>    <form method="POST" action="attendance.php">
>    <table class="defaultTbl">
>        <tr>
>            <th colspan="2">Attendance Register Search</th>
>        </tr>
>        <tr>
>            <td class="caption">$sDivisionName</td>
>            <td>
> HTML;
> ?>
> 
> That's just a piece of it, so don't worry about HTML markup missing pieces - more interested in print <<<HTML...HTML; part..?
> 
> Stay well
> 
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...fate had broken his body, but not his spirit...'


This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.

www.pridedallas.com


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




[PHP Home]     [PHP Users]     [PHP Install]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Rice Cooker]     [Home]     [Yosemite News]     [Yosemite Photos]     [PHP Books]

Powered by Linux