Re: User confirmation questions?
| From: | Rabin Vincent | Date: | Fri, 05 May 2006 16:08:36 +0000 |
| Subject: | Re: User confirmation questions? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235651@lists.php.net to get a copy of this message | ||
On 5/5/06, tedd <tedd@sperling.com> wrote:
At 8:58 AM +0300 5/5/06, William Stokes wrote: Hello, In PHP is it possible to generate "windows style" question boxes and get the users choice back? Or do I need javascript or something else for that? For example if a user hits a button in form I could ask for his confirmation for the action. Like "Do you Really wan't to drop the whole database?" Yes or No. And perform or cancel the action by user's decision. -Will -Will: It depends. Typically no, but what you want can be done via a single click by switching style sheets through php (it need cookies though). See -- http://www.sperling.com/examples/styleswitch/ -- for an example and explanation.Could you elaborate as to how switching stylesheets can provide a confirmation dialog box? Rabin