Php and CSS where to put it

From: Date: Mon, 12 Jan 2009 16:42:10 +0000
Subject: Php and CSS where to put it
Groups: php.general 
Request: Send a blank email to php-general+get-286100@lists.php.net to get a copy of this message
I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? <link rel="stylesheet" type="text/css" href="inc/styles.css"> <?php include 'inc/dbconnOpen.php' ; ini_set('error_reporting', E_ALL); ini_set('display_errors', true); $sql = "SELECT * FROM textads WHERE expos > xCount ORDER BY RAND() LIMIT 3"; $result = mysql_query($sql); echo " <table class=jobfont width=728 height=90 border=0 align=center cellpadding=10 bordercolor=#000066 background= 'inc/bg.gif' bgcolor=#CCCCCC> <tr> <td> <table width=690 height=50 border=0 align=center cellpadding=5> <tr>"; while ($row = mysql_fetch_array($result)) { echo " <td class=col align=center width=33%>{$row['title']}<br>{$row['blurb']}<br> <A HREF='{$row['href']}'>{$row['href']}</a></td>"; //Add to exposure count $views = $row['xCount'] + 1; mysql_query("UPDATE textads SET xCount = '{$views}' WHERE ID = '{$row['ID']}'"); } echo " </tr> </table></td></tr></table>"; ?>

« previous php.general (#286100) next »