Je moet ingelogd zijn om te stemmen.
$popular = array(); $s = 'SELECT * FROM software_subcat WHERE cat="'.$_GET['cat'].'" ORDER BY name'; $r = mysql_query($s) or die("Invalid Query: $_sql <br />" .mysql_error()); while($i = mysql_fetch_assoc( $r )) { $popular[] = $i['id']; }
$popular = array(); $s = 'SELECT * FROM software_subcat WHERE cat="'.$_GET['cat'].'" ORDER BY name';$r = mysql_query($s) or die("Invalid Query: $_sql <br />" .mysql_error());while($i = mysql_fetch_assoc( $r )) { $popular[] = $i['id']; }