[SOLVED] Placing Text : Not echo'ing where it should
Posted: Wed Jun 01, 2005 11:29 pm
Hi all,
I have the following code but I can't get it to echo the Title in the correct spot.
It displays at the top of the page. Any ideas why?
TIA, Wil
I have the following code but I can't get it to echo the Title in the correct spot.
It displays at the top of the page. Any ideas why?
TIA, Wil
Code: Select all
for($x = 0; $x<count($forth); $x++) {
echo "<tr><td width=\"200px\" colspan=\"2\" valign=\"top\">".$forth[$x]."</td>\n";
echo "<td width=\"200px\" colspan=\"2\"><input type=\"text\" name=\"".$forthTitles[$x]."\" SIZE=\"20\"></td></tr>\n";
}
$fifth=array('Foil','Yellow Light','Neck Labels','Opacity');
$fifthTitles = array(foil(),bronze(),yellowLight(),screen(),neckLabel(),iceBucket(),opacity());
echo "<div class=subTitle>Suitability</div>";
for($x = 0; $x<count($fifth); $x++) {
echo "<tr><td width=\"100px\" colspan=\"2\" valign=\"top\">".$fifth[$x]."</td>\n";
echo "<td width=\"100px\">$fifthTitles[$x]</td></tr>\n";
}
echo "<input type=\"reset\" class=\"btn\" value=\"Reset Summary\">";
echo "<input type=\"submit\" name=\"submit\" class=\"btn\" value=\"addSummary\">";