Re: Is it possible to have href link refer to same PHP file?

From: Date: Tue, 27 Mar 2001 20:44:14 +0000
Subject: Re: Is it possible to have href link refer to same PHP file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45781@lists.php.net to get a copy of this message
On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael Champagne (mchampagne@capis.com) wrote: >Is there a way to have an ordinary href link call some javascript >and say "are >you sure blah blah blah?" and then once you hit Ok it calls the same >php file >which then does all the database stuff? <a href="myfile" onclick="return confirm('are you sure blah blah blah')"> >I know I can do this just by creating another PHP file and having >the link >call that, but it seems like it would be nicer to have this in the >same file. > >Thanks! > >-- >Michael Champagne >wk: mchampagne@capis.com >hm: mchamp@texas.net > > > > >****************************************************************** >This communication is for informational purposes only. It is not >intended as an offer or solicitation for the purchase or sale of >any financial instrument or as an official confirmation of any >transaction, unless specifically agreed otherwise. All market >prices, data and other information are not warranted as to >completeness or accuracy and are subject to change without >notice. Any comments or statements made herein do not >necessarily reflect the views or opinions of Capital Institutional >Services, Inc. Capital Institutional Services, Inc. accepts no >liability for any errors or omissions arising as a result of >transmission. Use of this communication by other than intended >recipients is prohibited. >****************************************************************** > >-- >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

« previous php.general (#45781) next »