RE: [PHP-DB] Prevention for multiple submissions from the same form

2007-10-04 Thread Jonathan Gravois
I used the JavaScript method to disable the button after the first click and
discovered from irate customers and administration that this resulted in an
unsubmittable form on the AOL Browser although it worked perfectly in all
others. Just a mention in case your clientele is AOL heavy (like ours).

Jon 

-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 9:06 AM
To: T K; php-db@lists.php.net
Subject: RE: [PHP-DB] Prevention for multiple submissions from the same form


after submit direct the user to a different page...or use js and disable the
button after the first click
 
bastien Date: Thu, 4 Oct 2007 20:09:01 +0900 From: [EMAIL PROTECTED] 
bastien To: php-db@lists.php.net Subject: [PHP-DB] Prevention for 
bastien multiple submissions from the same form  Hi,  I have a form 
bastien with a button, which adds user inputted data into database. 
bastien I've been looking for a way to prevent users from pressing the 
bastien same button twice mistakingly.  I've learned that this is 
bastien possible to make and send a unique id in hidden input, and 
bastien check if the id is used before database query is issued. (PHP 
bastien Cookbook [O'reilly]).  But, is there a way to make this 
bastien happen without using database? It would cool if I could only 
bastien use HTML/JavaScript/CSS.  Tek.  --  PHP Database Mailing 
bastien List (http://www.php.net/) To unsubscribe, visit: 
bastien http://www.php.net/unsub.php
_
Express yourself with new emoticons. It's easy! Try it!
http://www.freemessengeremoticons.ca/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Session Variable from Recordset

2006-04-30 Thread JONATHAN GRAVOIS
What is the syntax for pulling a field out of a query and setting it as a
session variable?

Thanks,
Jon

-- 
Jonathan Gravois
Omni Sports Technologies
800.529.6664 X125
http://www.omnisportstech.com

Quote: Failure is not the only punishment for laziness; there is also the
success of others. -- Jules Renard

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Dynamic DataBinding in Form

2006-04-30 Thread JONATHAN GRAVOIS
I have an INSERT form with several fields two of which are FName and LName.
There is also a field named CUSTOMER which is the concatenation of those two
fields separated by a space. Is there a way to fill in customer as the user
types in the other two fields. I used to do this in Coldfusion; can I do it
with PHP?

Thanks,
Jon

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Newly inserted record ID

2006-04-30 Thread JONATHAN GRAVOIS
Thanks to the help of this list, I am making great progress. Now this --

I have a multi-part submission form for a support application for us, the
manufacturer - the reseller's information is submitted, the customer's
information is submitted, then the warranty support information needs to be
submitted.

How can I retrieve the CustomerID after I insert a record into the customer
table in mySQL and pass it to the CSQdetails.php page?

Thanks,
Jon

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php