jakebur01 Posted March 11, 2008 Share Posted March 11, 2008 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>"; Quote Link to comment https://forums.phpfreaks.com/topic/95557-white-space-before-results/ Share on other sites More sharing options...
l0ve2hat3 Posted March 11, 2008 Share Posted March 11, 2008 remove the <br> and try it out Quote Link to comment https://forums.phpfreaks.com/topic/95557-white-space-before-results/#findComment-489173 Share on other sites More sharing options...
jakebur01 Posted March 11, 2008 Author Share Posted March 11, 2008 i removed the whitespace from the code, what are you referring to? Quote Link to comment https://forums.phpfreaks.com/topic/95557-white-space-before-results/#findComment-489176 Share on other sites More sharing options...
l0ve2hat3 Posted March 11, 2008 Share Posted March 11, 2008 lol oops: remove the <br> Quote Link to comment https://forums.phpfreaks.com/topic/95557-white-space-before-results/#findComment-489187 Share on other sites More sharing options...
l0ve2hat3 Posted March 11, 2008 Share Posted March 11, 2008 wth wrong button agian remove the <br> Quote Link to comment https://forums.phpfreaks.com/topic/95557-white-space-before-results/#findComment-489188 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.