HighDots Forums  

Checkbox sql statement

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Checkbox sql statement in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kokob
 
Posts: n/a

Default Checkbox sql statement - 11-04-2004 , 02:51 PM






I need a sql statement, if a user submits the form without checking the
checkbox all records will show but if he checks one only that record will show.
im lost please help. herer is the sql statement SELECT * FROM Gems_Query
WHERE CatCode = 'MMColParam' and (Shape LIKE '%MMColParam3%' or Shape =
'MMColParam1' or Shape = 'MMColParam2' or Shape = 'MMColParam4') catcode is
the from a listbox and shape is the checkboxes how can i do this where if they
dont check it it shows all the dropdown selection if they do show the dropdown
selection where the shape matches the checkbox please help thank you in
advance.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.