Jump to content

Check boxes and sql


seawolf

Recommended Posts

Hi all,,

 

New to all of this so I hope it makes a little sense. :)

1) Have connected up to my dadtabase OK

2) Have three check boxes on my HTML form

3)Have three variables in my code aa,bb,cc

4)Have placed these variables into my SELECT statement like this

 

SELECT * FROM aa,bb,cc.(Where aa,bb,cc are the checbox items put into the variable.

 

All works fine UNTIL Idecide to check only two(or one) of the three checkboxes,then nothing happens.

 

any suggestions greatly appreciated.

Seawolf

 

 

 

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/287405-check-boxes-and-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.