oohrogerpalmer Posted August 13, 2009 Report Share Posted August 13, 2009 Hi I have a .php page that shows a table populated by a database. In Chrome the table looks fine, but in IE (8) & Mozilla any blank cells have no borders, which makes reading the info a bit tricky. I'm sure it's something simple, but I can't find any reference to this specific problem. The page is http://www.dunwoodpark.com/groups.php, and the code I'm using is : <?php mysql_connect(localhost, "*******", "********") or die(mysql_error()); mysql_select_db("*******") or die(mysql_error()); $result = mysql_query('SELECT org, website, position, Title, firstname, Surname, date FROM Dunwood WHERE `org`!="" AND `org`!="NULL" '); echo " OrganisationWebsitePositionTitleFirstnameSurnameDate";while($row = mysql_fetch_array($result)) { echo " echo "" . $row['org'] . ""; echo "" . $row['website'] . ""; echo "" . $row['position'] . ""; echo "" . $row['Title'] . ""; echo "" . $row['firstname'] . ""; echo "" . $row['Surname'] . ""; echo "" . $row['date'] . ""; echo ""; } echo "";mysql_close(); ?> Quote Link to comment Share on other sites More sharing options...
virtual Posted August 13, 2009 Report Share Posted August 13, 2009 Try populating your empty cells with that should show the borders around them Quote Link to comment Share on other sites More sharing options...
oohrogerpalmer Posted August 13, 2009 Author Report Share Posted August 13, 2009 (edited) I'm using a form to populate the MySQL database. Is there a way I can put a space into those fields by default so if the person who completes the form doesn't enter any data, it will add space by automatically? Edited August 14, 2009 by oohrogerpalmer Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.