Re: Stopping Forms Being Submitted Twice or Not Complete
| From: | Daniel R. Anderson | Date: | Mon, 28 Apr 2003 11:22:28 +0000 |
| Subject: | Re: Stopping Forms Being Submitted Twice or Not Complete | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145509@lists.php.net to get a copy of this message | ||
PHP is server side. This means that all the work happens on the web
server, and the output is the page given to the browser.
Javascript is browser side -- embedded in the HTML. Read up on
javascript. If you put it within the HTML that is outputted to the user
it works.
-Dan
On Mon, 2003-04-28 at 07:16, Vicky wrote:
> > i asked mr Google 'javascript submit form once' and the top suggestion he
> > gave me looks pretty good:
> > http://javascript.internet.com/forms/submit-once.html
>
> Can you run javascript successfully with PHP then? From past experience I
> assumed they weren't compatible!
>