Jump to content

white space before results


jakebur01

Recommended Posts

for some reason I wind up with a big white gap and have to scroll down to see my results.

 

$db = mysql_connect('') or die(mysql_error()); 
mysql_select_db('') or die(mysql_error()); 
  $result = mysql_query("SELECT * FROM wedding ORDER BY Dealer ASC ", $db) or die(mysql_error());
  
  

echo "<TABLE width=250 BORDER=1>";
while($myrow = mysql_fetch_array ($result))
{


echo "<tr>";
echo "<td width=10><a href=\"edit_dealer.php?id=".$myrow[id]."\">Edit</a> <hr /> <a href=\"delete_dealer.php?id=".$myrow[id]."\">Delete</a></td>";
echo "<td>";
echo "<b>{$myrow['Dealer']}, {$myrow['Name']}</b><br />{$myrow['Address']}<br />{$myrow['City']} {$myrow['State']} {$myrow['Zip']} <br /> {$myrow['Phone']}<br />";
echo "</td></tr><br />";




  }
echo "</table>";

Link to comment
https://forums.phpfreaks.com/topic/95557-white-space-before-results/
Share on other sites

Archived

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

×
×
  • Create New...

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.