Hi.
I'm trying to get my stylesheet work with a php page, but I can't find out how it should be done. Right now it looks like this, but I've tried some other things too. As always, any help would be appreciated.
Henry
<HEAD><link rel=stylesheet href="mystyle.css" type = "text/css"></HEAD>
<?php
$conn = mysql_connect("localhost","pass","") or die("No connection.");
mysql_select_db("test") or die("DB couldn't be chosen, reason: " . mysql_error());
$sql = "SELECT * FROM phonebook";
$result = mysql_query($sql);
$rows = mysql_numrows($result);
$i = 0;
//echo "<HEAD><LINK REL = stylesheet href='myorigostyle.css' type = 'text/css'></HEAD>";
echo "<H4>My Phonebook</H4>";
echo "<TABLE COLUMNS = 3 ROWS = $rows CELLPADDING = 5 CELLSPACING = 3 BORDER = 1>";
echo "<TR><TD><B>Name</TD><TD><B>Mobile</TD><TD><B>Phone</B></TD></TR>";
while ( $rows > $i )
{
$name = mysql_result($result,$i, "name");
$mobile = mysql_result($result, $i, "mobile");
$phone = mysql_result($result, $i, "phone");
echo "<TR><TD ALIGN = LEFT>$name</TD><TD>$mobile</TD><TD>$phone</TD></TR>";
$i++;
}
?>