Your form isn't a form.
You haven't submitted the form, so $_POST['..'] do not exist.
If they don't exist, you can't use them in the query ;)
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
You need to wrap FORM. Otherwise, use GET method to pass those values with ((param1=value1¶m2=value2) separating ampersand between them) via URL to the page you want to process. Then, you can retrieve $_GET['param1'], $_GET['param2']. But, this is stupid method and you need to do some javascript tricks. It is non-sense ! Use the FORM.
Zero13
Practically a Master Poster
624 posts since Jan 2009
Reputation Points: 120
Solved Threads: 139