can someone show me how to display the results of a query with the records in table cells with alternating color backgrounds for the rows ro results? I have several scripts that will do this but I am unable to make it work with the pagination output below...
is there an easy way to do this to this? TIA
// Now we can display results.
$results = mysql_query("SELECT `name` , `address` , `city` , `phone` , `www` ,`subcatid` FROM `bus_list` WHERE 1 AND `category` LIKE '%Dentists%' ORDER BY name ASC LIMIT $page, $limit");
while ($data = mysql_fetch_array($results))
{
?>
<p><?=$data["name"]?> <?=$data["address"]?> <?=$data["city"]?> <?=$data["phone"]?> <?=$data["www"]?> <?=$data["subcatid"]?></p>
<?
}