
The extra WHERE attribute
How does that thing work?
I have an enum field on my table for the lyrics. "y" if there are any lyrics for the song and "n" if there are no lyrics. I use the following script:
$sc_ajax_select_boxes->add_select_box('songs','songs_id','name','songs_id','','songs','songs','','lyrics=n');
What am I doing wrong here?
Thx in advance and I must say that this code made my life a lot easier!
Peace.
P.s.: What I try to achieve is to just show the songs without lyrics, so the admin won't add two lyrics for the same song.
Edited 1 time(s). Last edit at 05/26/2007 06:59PM by moonwalker.