Mike Armas
02-01-2006, 02:10 PM
Hello all again i been working on this
http://www.georgiawellnessalliance.com/index.php?pr=test
It's a custom html file with php getting info from the database.
<?php
$result = mysql_query("SELECT * FROM UDT_CORE_LIST ORDER by LASTNAME ASC");
while ($row = mysql_fetch_array($result)) {
echo "<TABLE BORDER=1 CELLPADDING=1 CELLSPACING=1 WIDTH=704>\n";
echo "<TR>\n";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=150>$row[FIRSTNAME] $row[LASTNAME]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=200>$row[COMPANY]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP>$row[BUSINESSPHONE]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=60>E-mail</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=100>Web Page</TD>";
echo "</TR>";
echo "</TABLE>";
}
?>
Iam still playing around with it. I use the border just to see where thinks are. It's not going to stay that way. What i want to ask was If you open this page in IE there is a Gap in the template. If you open it with Mozilla you don't see this gap.
What is going on am i doing the code worng or is soho messing up ?
http://www.georgiawellnessalliance.com/index.php?pr=test
It's a custom html file with php getting info from the database.
<?php
$result = mysql_query("SELECT * FROM UDT_CORE_LIST ORDER by LASTNAME ASC");
while ($row = mysql_fetch_array($result)) {
echo "<TABLE BORDER=1 CELLPADDING=1 CELLSPACING=1 WIDTH=704>\n";
echo "<TR>\n";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=150>$row[FIRSTNAME] $row[LASTNAME]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=200>$row[COMPANY]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP>$row[BUSINESSPHONE]</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=60>E-mail</TD>";
echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=100>Web Page</TD>";
echo "</TR>";
echo "</TABLE>";
}
?>
Iam still playing around with it. I use the border just to see where thinks are. It's not going to stay that way. What i want to ask was If you open this page in IE there is a Gap in the template. If you open it with Mozilla you don't see this gap.
What is going on am i doing the code worng or is soho messing up ?