<form> post to specific PHP function
Posted: Fri Sep 15, 2006 2:15 am
Hi I attempted to post the info on form.php to a (create) function in process.php
but don't seems work, guess the method I thought of don't seems to work... May I know how shd i do it?
along with the above question
and also if i want to set a $_Session['variable'] when upon clicking SUBMIT button. How shd i do it?
Code: Select all
<form action="process.php" method="post" onsubmit="create()">
.... ....
</form>along with the above question
and also if i want to set a $_Session['variable'] when upon clicking SUBMIT button. How shd i do it?