[eluser]Devon Lambert[/eluser]
[quote author="gtech" date="1211873538"][strike]no massive performance gain (unless your database is huge, I have no real timing stats though)[/strike][edit]don't have evidence to contradict[/edit]
Just wanted to ensure your name field was unique as the code would fall over if it was not. not to worry in your case, the general rule of thumb is to use ids, then someone can change the name if they want to.
well you could have one function to build up the items array and the categories array rather than splitting it in to two, but its not broken so lets not fix it
.
p.s. turning of db_debug is the biggest performance enhancement you can make.[/quote]
Hmmm well the "games"/"items" table has about 2,500 rows and it will grow substantially (could go as high as 5000 by year end) in the future. Category table only has 7 rows. Do you think changing the identifier from the cat name to id is worth it in this case. I could easily add another column in the games table for "cat_id" and run my queries based on that value instead of "cat_name". The question is, is it truly worth it in this case?
p.s. Thanks for all the help today by the way. (You too oddman!)