brown2005 Posted March 24, 2006 Share Posted March 24, 2006 i have the table:-echo"<table width='100%' border='0' cellspacing='0' cellpadding='0'>";echo"<tr> <td colspan='5'>1</td> </tr>";echo"<tr> <td colspan='5'>5</td> </tr>";echo"<tr> <td colspan='5'>5</td> </tr> ";echo"<tr> <td width='10'> </td> <td width='250' valign='top'>2</td> <td width='10'> </td> <td width='720' valign='top'>3</td> <td width='10'> </td> </tr>";echo"<tr> <td colspan='5'>1</td> </tr> ";echo"</table>";how can i put include('g.php');where the 1 is.... Quote Link to comment https://forums.phpfreaks.com/topic/5682-adding-include/ Share on other sites More sharing options...
redbullmarky Posted March 24, 2006 Share Posted March 24, 2006 [code]<td colspan='5'><?php include('g.php'); ?></td>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5682-adding-include/#findComment-20251 Share on other sites More sharing options...
brown2005 Posted March 24, 2006 Author Share Posted March 24, 2006 but i have already got the <?php ?> tags? Quote Link to comment https://forums.phpfreaks.com/topic/5682-adding-include/#findComment-20253 Share on other sites More sharing options...
redbullmarky Posted March 24, 2006 Share Posted March 24, 2006 [!--quoteo(post=357913:date=Mar 24 2006, 12:56 PM:name=brown2005)--][div class=\'quotetop\']QUOTE(brown2005 @ Mar 24 2006, 12:56 PM) [snapback]357913[/snapback][/div][div class=\'quotemain\'][!--quotec--]but i have already got the <?php ?> tags?[/quote]ahh my bad. sorry, thought it was html then noticed your quotes. just break up the echo:[code]echo"<tr><td colspan='5'>";include('g.php');echo "</td></tr>";[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5682-adding-include/#findComment-20254 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.