Re: a PHP fucntion like window.confirm("Click OK to continue. Click Cancel to stop.");
| From: | Renze Munnik | Date: | Wed, 04 Apr 2001 08:02:26 +0000 |
| Subject: | Re: a PHP fucntion like window.confirm("Click OK to continue. Click Cancel to stop."); | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46995@lists.php.net to get a copy of this message | ||
Javier Morquecho Morquecho wrote:
>
> Is there an PHP equivalent to the javascript:
> $x= window.confirm("Click OK to continue. Click Cancel to stop.");
>
> if ($x)....
>
> Thanks....
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Ehhhh.... No!
PHP is server-side. Using PHP you can't do that. Only thing you can
do is have PHP generate the JavaScript that calls window.confirm().
--
* R&zE:
***************************
** Renze Munnik
**
** E: renze@datalink.nl
** M: +31 6 218 111 43
***************************