Re: pop-up window in php???

From: Date: Mon, 29 May 2006 18:59:01 +0000
Subject: Re: pop-up window in php???
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-237034@lists.php.net to get a copy of this message
siavash1979@telus.net wrote:
ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. thanks, Siavash Quoting Andrei <phplist@textbill.com>:
Not related to PHP, but u hava javascript confirm function or prompt (if you need input also). Andy siavash1979@telus.net wrote:
Hi all, Is there anyway to have a pop-up window to ask "are you sure? yes / no" in
php?
I know you can do it in Javascript, but I'm not sure what's the best way
to
implement it in php. I want the page to do nothing if "no" is pressed. any help would be appreciated. thanks, Siavash
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
PHP is a server-side language. It cannot directly influence anything on the client-side. That is why you need to have your PHP script output a client-side scripting language such as JavaScript. You are still only executing PHP code on the server. Regards, Adam Zey.

« previous php.general (#237034) next »