sd9sd Posted June 16, 2008 Share Posted June 16, 2008 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 More sharing options...
vbnullchar Posted June 16, 2008 Share Posted June 16, 2008 i AFIK there is no built-in function for that.. you need to create your own or download some php html classes that do the job... you can also use print... Link to comment https://forums.phpfreaks.com/topic/110390-only-echoes/#findComment-566340 Share on other sites More sharing options...
sd9sd Posted June 17, 2008 Author Share Posted June 17, 2008 thanks Link to comment https://forums.phpfreaks.com/topic/110390-only-echoes/#findComment-567012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.