Murtuza Millwala asks:
I have a form on my WordPress site which is populating two drop downs with custom db query(select query) using wpdb, from a custom db which I added to the database, now after selecting some values from the drop downs, when I click submit, it should again check the values from drop downs into the db and return the result on the same page, without changing the url.
Is that thing possible?
Browser: Chrome 21
System: Windows
Tagged: form, web development, website tips, wordpress, wordpress database
System: Windows
Tagged: form, web development, website tips, wordpress, wordpress database
2 Answers -
Jamie VanRaalte
August 17, 2012It should be, probably with jQuery. I personally use Contact Form 7.
muotechguy
August 22, 2012Use jQuery to bind to the submit button, then grab the value and send an ajax request to a php db handler. It’s quite advanced programming though, and there arent any ready made solutions. You’ll need to learn some jquery (very simple), and php, and mysql.