You can't call a server side php function like that, these onSubmit type
things are to call client side functions ie: Javascript.
Pierre
----- Original Message -----
From: "Andrew Dellinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 24, 2001 12:59 PM
Subject: Re: [PHP-WIN] page won't stop running
> Thanks for the answers about the script everybody. Any ideas why my page
> won't stop running, even on "hello world"?
>
> Thanks,
>
> Andrew
>
> ""Andrew Dellinger"" <[EMAIL PROTECTED]> wrote in message
> 9gt6m8$sl3$[EMAIL PROTECTED]">news:9gt6m8$sl3$[EMAIL PROTECTED]...
> > I am using IIS5/win2k/php4 and any php page, even "hello world" won't
stop
> > running. Any ideas?
> >
> > Also, I need to find out how to call a function from a submit onClick
> event.
> > My script looks like <?php
> > function displayMe () {
> > ...
> > }
> > ?>
> > and call to function is: <input type="submit" name="Submit"
> value="Submit"
> > onClick="displayMe()">
> >
> > Thanks,
> > Andrew
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]