I am new to this type of work and I have this results page in php andi t is ugly, I mean real plain and boring. I want to dress it up a bit and add some style but for the life of me I cant figure out how... in a visial editor I cant see anything. here is the code below:
<?
// Page two, search and display
$connect = mysql_connect("localhost", "xxxxxx", "xxxxxx");
$db = mysql_select_db("xxxxxxxx", $connect);
$sql = "SELECT *
FROM STOREDATA
WHERE State = '".$POST['state']."'
OR ZIP_Code = '".$POST['zipCode']."'";
$result = mysql_query($sql);
$rows = mysql_num_rows($result);
if($rows > 0) {
echo "<p><center></p>
<table border=\"1\">
<th align=\"center\newstyle\">Name</th>
<th align=\"center\">City</th>
<th align=\"center\">State</th>
<th align=\"center\">Sales Phone</th>";
while($row=mysql_fetch_array($result)) {
echo "<tr><center>
<td align=\"center\" class=\"newstyle\">".$row['Name']."</td>
<td align=\"center\" class=\"newstyle\">".$row['City']."</td>
<td align=\"center\" class=\"newstyle\">".$row['State']."</td>
<td align=\"center\" class=\"newstyle\">".$row['Sales_Phone']."</td>
</tr>";
}
}
else {
echo "No results found";
}
mysql_close($connect); ;
Can someone point me in the right direction>?