View Single Post
Old 04-16-2008, 05:59 AM   #1 (permalink)
hcp
The Visitor
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
hcp is on a distinguished road
Default small php/mysql help needed

i need help on this, can someone please look at this,

let's say there are two tables on my database
1. category table having column id with values like 1 to 10
2. details table having column category with the values like 2, 4, 6, 8, 10

so i want to list 5 values from category table's id columns but only those values that are in details table category column,

how do i do it pls guide me.
hcp is offline  
Reply With Quote