RE: [PHP] something like alert (javascript)
| From: | Boget, Chris | Date: | Wed, 03 Oct 2001 14:38:10 +0000 |
| Subject: | RE: [PHP] something like alert (javascript) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69774@lists.php.net to get a copy of this message | ||
> Is there any function in PHP that is similar to alert() or
> confirm() of javascript ? I tried die() but that's not what I need.
What do you want it to do? Remember, though, that
PHP = server side while Javascript = client side. If you
want alert() or confirm() functionality on the client side
(why would you want this server side; it'll just hang there
until someone on the back end hits a key or something)
use either of those two functions.
Chris