| Posted by chris on 01/23/06 23:30 
can anyone help?I am displaying a list the results are about 60 retailers  this will display
 the result in one long list is there a way I can split the results into say
 3 or 4 columns instead of one long list?
 thanks
 
 function show_brand() {
 global $id_link;
 $sql_brand="select * from brands";
 $result = mysql_query($sql_brand, $id_link);
 if ($result){
 while (($row = mysql_fetch_object($result))){
 printf ("
 <a href=\"./?action=list&brand_id=%s\"><b>%s</b></a><br>\n",
 $row->brand_id,$row->brand);
 
 }
 mysql_free_result($result);
  Navigation: [Reply to this message] |