By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,968 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,968 IT Pros & Developers. It's quick & easy.

How to create mysql query through php form?

P: 2
Hi all,

I have form with two drop down box and date column which take date from and to text field. Just want to make a query when user select one or multiple
option from both drop down and date fields.

Want to know how to create query as per user requirement. Is any body have an idea about the same. How to make query with the help of php form.

Any comments welcome.

Apr 25 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 3,235
Let me see if I understand you correctly; you are trying to build a MySQL query based on user input?

Post your your form, have your PHP page validate the $_POST variables, and then formulate your query string based on the user's input.
Apr 25 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.