Php and CSS where to put it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>";

?>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux