Jump to content

Archived

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

brown2005

adding include();

Recommended Posts

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'>&nbsp;</td>
<td width='250' valign='top'>2</td>
<td width='10'>&nbsp;</td>
<td width='720' valign='top'>3</td>
<td width='10'>&nbsp;</td>
</tr>";
echo"<tr>
<td colspan='5'>1</td>
</tr> ";
echo"</table>";


how can i put include('g.php');

where the 1 is....

Share this post


Link to post
Share on other sites
[!--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]

Share this post


Link to post
Share on other sites

×

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.