NetworkTown.Net
Account Closed
- Impact
- 2
Hi
I have this code:
and it will not show the results properly it wiill only show the first result and not all of them. Any one got any suggestions?
I have this code:
PHP:
$result = mysql_query("SELECT DISTINCT * FROM category WHERE type = 1 ORDER BY Id DESC");
while($row = mysql_fetch_array($result))
{
$name = $row['Name'];
}
echo $name
echo '<br />';
and it will not show the results properly it wiill only show the first result and not all of them. Any one got any suggestions?






