On Tue, 27 Mar 2001 15:50:44 -0600 (Central Standard Time), Michael
Champagne ([EMAIL PROTECTED]) wrote:
>But then how would you process it in the same file?  If I'm calling
>it from
>myfile and my link is to myfile then how does it know that it's
>already been
>clicked?

well you can make the url be:
myfile?clicked=true

then do
if(isset($clicked)){
        // do stuff
}

up at the top.

- Mark

>Thanks,
>Mike
>
>> On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time),
Michael
>> Champagne ([EMAIL PROTECTED]) 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: [EMAIL PROTECTED]
>> >hm: [EMAIL PROTECTED]
>> >
>> >
>> >
>> >
>>
>******************************************************************
>> >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: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >To contact the list administrators, e-mail: php-list-
>> >[EMAIL PROTECTED]
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: php-list-
>>[EMAIL PROTECTED]
>>
>>
>
>--
>Michael Champagne, Software Engineer
>Capital Institutional Services, Inc.
>wk: [EMAIL PROTECTED]
>hm: [EMAIL PROTECTED]
>
>
>
>******************************************************************
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: php-list-
>[EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to