View Single Post
  #4 (permalink)  
Old 12-02-08, 09:40 AM
landing's Avatar
landing landing is offline
Coding Addict
 
Join Date: Jul 2006
Location: Scotland
Posts: 302
Thanks: 0
Thanked 0 Times in 0 Posts
It might be better to pull the row then split up the ID's, then use them separately? I presume you know the ID's that you need to pull?

PHP Code:

$client_category explode(","$row['client_category']);


// This will loop through all the comma seperated caterogy ID's available
foreach ($client_category as $k => $category_id) {
    
// Use the $category_id you need here

Ignore me if I have misunderstood!
__________________
Always sanitise your data


Best regards
Reply With Quote