PDA

View Full Version : Admin CP print_select_row Help


TheMayhem
01-17-2010, 09:05 PM
I need a little bit help completing this coding as every guide I've found has confused me.

What I want to do is have a nice drop down box in my admin cp to find a list of available gifts. The query is as follows:

SELECT customid, name FROM " . TABLE_PREFIX . "market_gifts_custom WHERE 'active' = '1'

After it finds all necessary results, it creates a drop down box using the print_select_row option for the admincp. I'm a little confused on how to do this and normally I look at how other people have done it but this one just has me confused... it could be a lack of sleep I think. Anyways, any help is appreciated on how to code this so I can complete a new release to my hack.