How can i call a function of another page on submit button o
Posted: Wed Jan 05, 2011 11:50 pm
I have two pages one is db.php and another is form.php.
In form.php i have created a form which contains different fields and a submit button.
But i want to write the queries in db.php.
And when i click on the submit button the insert query in db.php should be executed and insert data in database but the focus remains on form.php.
How can i do this???
Any Idea?
In form.php i have created a form which contains different fields and a submit button.
But i want to write the queries in db.php.
And when i click on the submit button the insert query in db.php should be executed and insert data in database but the focus remains on form.php.
How can i do this???
Any Idea?