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@xxxxxxxxxxxx>: > > Not related to PHP, but u hava javascript confirm function or prompt > (if you need input also). > > Andy > > siavash1979@xxxxxxxxx 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php