oohrogerpalmer Posted August 13, 2009 Report 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(); ?>
virtual Posted August 13, 2009 Report Posted August 13, 2009 Try populating your empty cells with that should show the borders around them
oohrogerpalmer Posted August 13, 2009 Author Report 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now