PhpRiot
Recent Code Pastes

Listing 1617

Submitted by anonymous user, 8 October 2008
my prediciment is, i have 'items', and i have 'item features' ( 4 year guarantee, comes with rain cover, batteriens included, free lube..etc )
the prediciment i face is.. do i : 

1)  Query items, join to item features, then rip through the final array making a new 'unique' array of items adding the item features onto each item as it goes through.. could be 100 items, up to maybe 1000 rows in array

OR

2)  query items. .  prepare query for item features, loop through items and for each item query to get its item features..  ? 
Submit a Follow Up

Followups: