Click to See Complete Forum and Search --> : onclick()


mahfooz
12-24-2006, 08:47 AM
is it possible to call a PHP function on javascirpt OnClick(); event

if yes then how can i call this function

Charles
12-24-2006, 09:48 AM
You can make it work eight or nine times out of ten and there are a couple of ways of doing it. What exactly are you up to?

mahfooz
12-24-2006, 09:54 AM
<form action="next.php" method="post">
<input type='text' name='' />
<input type='text' name='' />
<input type='text' name='' />
<input type='text' name='' />
<input type='text' name='' />
<input type='text' name='' />
<input type='text' name='' />
<input type='submit' />
</form>

as the above form shows i want when user clicks on submit button it's account creates automatically and then user redirected automatically redirected too the next.php page

Charles
12-24-2006, 09:58 AM
Simply edit "next.php" page so that it creates the account. Fold the two files into one.

You really don't want to get iffy, yucky JavaScript involved in this.