ctcp Posted June 7, 2009 Share Posted June 7, 2009 <?php $sql = "SELECT * FROM crackz ORDER BY type DESC LIMIT 30"; $result=mysql_query($sql); $count=mysql_num_rows($result); ?> <?php while($rows=mysql_fetch_array($result)){ ?> i got table crackz and i have Field Id and Field Type how to view result by type = Games or Appz ? Link to comment https://forums.phpfreaks.com/topic/161316-php-result/ Share on other sites More sharing options...
Ken2k7 Posted June 8, 2009 Share Posted June 8, 2009 Huh? ??? Link to comment https://forums.phpfreaks.com/topic/161316-php-result/#findComment-851258 Share on other sites More sharing options...
cltn77 Posted June 8, 2009 Share Posted June 8, 2009 do u mean this: SELECT * FROM crackz WHERE TYPE IN ('Games', 'Appz') ORDER BY type DESC LIMIT 30 Link to comment https://forums.phpfreaks.com/topic/161316-php-result/#findComment-851396 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.