I\'m trying to execute a PHP function in the same page after the user enters a text and presses a submit button.
The first I think of is using forms. When the user s
Use SAJAX or switch to JavaScript
Sajax is an open source tool to make programming websites using the Ajax framework — also known as XMLHTTPRequest or remote scripting — as easy as possible. Sajax makes it easy to call PHP, Perl or Python functions from your webpages via JavaScript without performing a browser refresh.