Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP array help Reply To: PHP array help

#170605
shaneisme
Participant
$LIs .= <<< HTML
<li>
    <a href="{$item['href']}">
        <img src="{$item['img']}" />
        {$item['name']}
    </a>
</li>
HTML;

Is this a method of doing HTML inside PHP that I don’t know about, or is this pseudocode? I tried doing some Googling on it and couldn’t find anything.