nec9716 Posted April 3, 2008 Share Posted April 3, 2008 is it possible to run <tr> <td></td> <tr> <td></td> </tr> <td></td> <td></td> </tr> i know td is stand for column I think and tr for table so can I include a table in a table? Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/ Share on other sites More sharing options...
almightyegg Posted April 3, 2008 Share Posted April 3, 2008 How is this PHP? Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/#findComment-508825 Share on other sites More sharing options...
nec9716 Posted April 3, 2008 Author Share Posted April 3, 2008 sorry yes...that for PHP I have a if in my table and I think that might be easier for me if I can create a new table inside my first table Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/#findComment-508826 Share on other sites More sharing options...
almightyegg Posted April 3, 2008 Share Posted April 3, 2008 you can create tables like <table><tr><td> <table><tr><td> <table><tr><td> <table><tr><td> </td></tr></table> </td></tr></table> </td></tr></table> </td></tr></table> But don't mix the tags round Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/#findComment-508828 Share on other sites More sharing options...
nec9716 Posted April 3, 2008 Author Share Posted April 3, 2008 ok I get that .. thank you almightyegg Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/#findComment-508831 Share on other sites More sharing options...
Caesar Posted April 3, 2008 Share Posted April 3, 2008 <?php echo' <table class="main"> <tr><td>'.$variable.'</td></tr> <tr><td>Something here</td></tr> <tr><td>Something here</td></tr> <tr><td> <table> <tr><td>Something here</td></tr> </table> </td></tr> </table>'; ?> Added PHP for sanity's sake. Link to comment https://forums.phpfreaks.com/topic/99444-solved-lttrgt-inside-lttrgt/#findComment-508833 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.