running a php script "on demand"

hello again :smiley:

this is the question of the week :

i have a php file… i want to add a button and then by clicking this button run a php script.
To make it clearer i have a form and i want to save some data (i have the script for that) by the click of a “save” button. It must be easy but i am a little bit slow lately :stuck_out_tongue:

thanks!!!

[code]

[/code]

a form that will be processed by file save.php

hi and thanks…

the problem is that i don’t want to save the form it self but some fields of it on different files. so i have created scripts to do that but i want all of them to run by a click.

any idea…?:slight_smile:

let me see if i understand,

the form will be saved to different files for example textbox 1 will be sabed to a file and textbox2 will be saved to a different file?

if is not that what you want if you explain very well waht you want i will help you

exactly. textbox1 will be saved to file1, textbox 2 to file2 etc

a single script can do that, you dont have to run multiple scripts

ok this is clear but how can i run this script by the click of a button?

you can do it the way i suggested on my first post

if you having trouble i can help you implement it if you post the codes you have

yes i have already done it as you suggested at your first reply…actually i don’t know why was i so confused at first place…anyway…

thanks a lot wilson!

your welcome.

Sponsor our Newsletter | Privacy Policy | Terms of Service