Jump to content

[SOLVED] Echo/Print html coding...


acctman

Recommended Posts

what I like to do is use ' as most things in html use ". 

 

echo '<p class="someclass">Some Text</p>';

 

now things like \n\t don't work unless it is "\n\t", but you can always do:

 

echo '<p class="someclass">Some Text</p>';

echo "\n\t";

echo '<div style="width: 200px">Some Box</div>';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.