Posted on Sunday 13th May 2007 at 05:20 PM | |
gbt91 Junior Member |
if i want to gather users with a determinate value as, if i want to gather all users which age is 13 years old, how can i do that? help needed as soon as possible |
Posted on Sunday 13th May 2007 at 09:11 PM | |
SkillMaster Senior Member |
Code $sql = mysql_query("SELECT * FROM `DB_NAME` WHERE `age` = '13' ORDER BY `id` DESC"); while($fetch = mysql_fetch_array($sql)) { echo ("$fetch[username]"); } That should work. |
Posted on Tuesday 15th May 2007 at 05:38 AM | |
SkillMaster Senior Member |
Did it work? |