/    Sign up×
Community /Pin to ProfileBookmark

is it possible to call a PHP function on javascirpt OnClick(); event

if yes then how can i call this function

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesDec 24.2006 — 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?
Copy linkTweet thisAlerts:
@mahfoozauthorDec 24.2006 — [code=html]<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>[/code]


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
Copy linkTweet thisAlerts:
@CharlesDec 24.2006 — 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.
×

Success!

Help @mahfooz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...