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 ? Quote 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? ??? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/161316-php-result/#findComment-851396 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.