hemi
09-14-2009, 09:55 AM
<div id='sss' class='col'>
<h4>for sale</h4>
<div class='cats'> <div class='cats'><ul id='ccc1'>
";
$res=mysql_query("select * from post_subtypes where postid=16");
while($var=mysql_fetch_array($res))
{
echo"<li><a href=sale1.php?id=$var[cid]><font size=2> $var[name]</font></a></li>";
}
echo"</ul>
</div>
</div>
------------------------------------------------------------------------
when i do this i will get my required values in a single row. what I want is to get them in two rows (half in one row and the other half in another row)
any suggestions plz
<h4>for sale</h4>
<div class='cats'> <div class='cats'><ul id='ccc1'>
";
$res=mysql_query("select * from post_subtypes where postid=16");
while($var=mysql_fetch_array($res))
{
echo"<li><a href=sale1.php?id=$var[cid]><font size=2> $var[name]</font></a></li>";
}
echo"</ul>
</div>
</div>
------------------------------------------------------------------------
when i do this i will get my required values in a single row. what I want is to get them in two rows (half in one row and the other half in another row)
any suggestions plz