![]() |
auto update of a form Can it be done only with PHP
Hello
I hope I can get some ideas here! I created a form for booking a different services, and all these services has many features. So I want to select a feature, and its cost automatically to be added at the total cost(which should be displayed and updated on the same page), via drop-down menu selection. I know that in order the values from the form to be processed, I have to submit the form, but is it possible only with php, by clicking on an option in the dropdown menu the total sum to be shown on the same page each time feature is selected. Cheers in advance! |
Hello.
The first thing you have to know is that PHP is a so called Server-side script language wich means that it?s run on the server and the result of that is then sent to the browser (client). So in order for your form to react to any interactions you use JavaScript wich is a Client-side script language wich means it?s run on the client (browser). Have a look att some JavaScript frame works such as: http://www.jquery.com In other words use PHP on the server side for the backbone to take care of all the things you can do with PHP. Such as talking to database servers (MySQL) and others supported by PHP. Have a look at http://www.php.net For mor info on what you can do with PHP. Good luck to you. /Eye |
| All times are GMT. The time now is 09:04 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0