Jump to content

only echoes?


sd9sd

Recommended Posts

I'm finding my way around PHP, and just found that using PHP code the following way can generate an HTML output:

<?php echo <table width="441" height="229" border="1" align="center"><tr> <td width="89" background="../images/identity4.jpg"> </td><td width="237"><div align="center"><img src="../arms.gif" width="72" height="14"></div></td><td width="93"> </td></tr></table>

?>

 

But is using an echo statement the only way of generating HTML with PHP? I mean, aren't there PHP commands that can create a table of certain width and height etc?

 

Link to comment
https://forums.phpfreaks.com/topic/110390-only-echoes/
Share on other sites

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.