Home > Archive > PHP on Windows > April 2007 > Re: [PHP-WIN] duplicate entry
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-WIN] duplicate entry
|
|
| Jarrett Meyer 2007-04-05, 9:59 pm |
| Sorry, but to answer the original question, PHP cannot interact with the client in this way. PHP resides with the server. Javascript resides with the client, and even that is, at best, unreliable, since it can be turned off and/or not work the same with a
ll browsers.
You have to look for answers that can be solved from your end without involving the client.
Thank you,
Jarrett Meyer
http://jarrettmeyer.blogspot.com
No trees were harmed during this transmission; however, several electrons were terribly inconvenienced.
----- Original Message ----
From: sam rumaizan <samcalc@yahoo.com>
To: php-windows@lists.php.net
Sent: Thursday, April 5, 2007 7:15:36 PM
Subject: [PHP-WIN] duplicate entry
How do I disable Refresh and Back button. to Prevent duplicate entry
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
| |
| chandar 2007-04-06, 4:01 am |
| In javascript you can force the page to redirect to the same one
whenever he goes to someother page using back,this can be done using
javacript.history.back()
functions
Jarrett Meyer wrote:
> Sorry, but to answer the original question, PHP cannot interact with the client in this way. PHP resides with the server. Javascript resides with the client, and even that is, at best, unreliable, since it can be turned off and/or not work the same with
all browsers.
>
> You have to look for answers that can be solved from your end without involving the client.
>
> Thank you,
> Jarrett Meyer
> http://jarrettmeyer.blogspot.com
>
> No trees were harmed during this transmission; however, several electrons were terribly inconvenienced.
>
> ----- Original Message ----
> From: sam rumaizan <samcalc@yahoo.com>
> To: php-windows@lists.php.net
> Sent: Thursday, April 5, 2007 7:15:36 PM
> Subject: [PHP-WIN] duplicate entry
>
> How do I disable Refresh and Back button. to Prevent duplicate entry
>
>
>
>
>
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
>
| |
|
| use session on your page..
----- Original Message -----
From: "Jarrett Meyer" <jmtmeyer@yahoo.com>
To: <php-windows@lists.php.net>
Sent: Friday, April 06, 2007 8:12 AM
Subject: Re: [PHP-WIN] duplicate entry
> Sorry, but to answer the original question, PHP cannot interact with the
client in this way. PHP resides with the server. Javascript resides with the
client, and even that is, at best, unreliable, since it can be turned off
and/or not work the same with all browsers.
>
> You have to look for answers that can be solved from your end without
involving the client.
>
> Thank you,
> Jarrett Meyer
> http://jarrettmeyer.blogspot.com
>
> No trees were harmed during this transmission; however, several electrons
were terribly inconvenienced.
>
> ----- Original Message ----
> From: sam rumaizan <samcalc@yahoo.com>
> To: php-windows@lists.php.net
> Sent: Thursday, April 5, 2007 7:15:36 PM
> Subject: [PHP-WIN] duplicate entry
>
> How do I disable Refresh and Back button. to Prevent duplicate entry
>
>
>
>
>
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
| |
| Alf Stockton 2007-04-09, 3:59 am |
| [color=darkred]
I used :-
ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE
(Date,MemberNumber)
--
Regards,
Alf Stockton www.stockton.co.za
Your love life will be... interesting.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
| |
|
|
|
|
|
|
|
|
|
|
|