
November 30th, 2012, 02:51 AM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 12
Time spent in forums: 4 h 11 m 21 sec
Reputation Power: 0
|
|
|
Here is an answer i found, i hope it helps you:
In order to submit a form, collect the results from database and present then to the user without page refresh, redirect or reloading, you need to:
1. Use Ajax to Post the data from your form to a php file
2. That file in background will query the database and obtain the results for the data that he as received
3. With the query result, you will need to inject it inside an html element in your page that is ready to present the results to the user.
4. At last, you need to set some controlling stuff to let Styles and document workflow run smoothly
|