473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Registration Form

Need to know if there is a sample code out there that I could use for this one
Customer Interaction with the application
1.1 Registering with the system
Customer provides their credit card number or other acceptable tenders and the name associated with it:
1.1.1 Select between visa, MasterCard, discover, and PayPal
1.1.2 Enter Credit Card Number
1.1.3 Enter Expiration Date
1.1.4 Enter Name exactly as appeared on the account
1.1.5 Enter physical address where credit card bills are sent
1.1.6 Enter e-mail address
1.1.7 Enter password (twice)
1.1.8 Enter primary phone number (home or mobile phone)
1.1.9 Click Submit

Need to know if there is a sample code out there that I could use for this one! Thanks for your time
Feb 16 '09 #1
5 1524
OuTCasT
374 256MB
This is a pretty simple insert query question.
Feb 16 '09 #2
I understand that it is a very simple INSERT functions. But there is a little bit more to it than that:

1. When the customer selects VISA, MasterCard, or Discover, he/she gets a field that accepts no more than 16 digits.
2. When the customer selects paypal, he/she gets a field that accepts input in the format of xxxx@xxx.xxx
3. When the customer selects e-Check, he/she gets a field just for a limited amount of digits.

4. After all other information are entered, an e-mail is sent to the customer which he/she must click on to activate the account.

Instead of writing everything from scratch, I wonder if there is a code someone might which I may re-use.

I am new to sql.

Thanks for the help

Ps
Feb 16 '09 #3
OuTCasT
374 256MB
This is not a SQL question but anyways. You could set the fields according to your selections. Set the max characters for the textbox if you want to.

The email part of it is also very easy. Use the SMTP function to send the email.
Add a field to the DB called Activated and set it to NO. When the client clicks on the link then you can set the activated to yes according to the ID of the client in the email.
Feb 17 '09 #4
OutCast:

What do you mean by this is not an SQL question? Should I be doing this with a different utilitty?
Feb 18 '09 #5
ck9663
2,878 Expert 2GB
He means your question is more of a front-end tasks than a back-end one.

-- CK
Feb 18 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: karolina | last post by:
Hi, I am making a small registration form about cars in three steps. The first step is to fill in member data. After filled out the member data hit "next" and enter car information. Hit "next"...
1
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is...
0
by: Marcel - IDUG Europe 2005 | last post by:
Dear DB2 user, My name is Marcel Lévy and I'm a member of the IDUG 2005 Europe Conference Planning Committee. ********************************************************************* Mark your...
0
by: Wayne Smith | last post by:
I've taken the following code from a developers web site which should allow a user to register and receive an email message with a link to activate their account, but when I click the link on my...
0
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
0
by: Marcel - IDUG Europe 2006 | last post by:
Hi DB2 user, Register by 14 September and Save 226 Euro! Register by Thursday, 14 September and save 226 Euro on your full conference registration! Don't wait - make sure you take advantage of...
0
by: David Goodger | last post by:
I am pleased to announce that PyCon 2008 registration is now open! http://us.pycon.org/2008/registration/ Early-bird registration is open until February 20, so there's one month to register at...
5
by: silmana | last post by:
hello, i have this problem that i cannot bound the registration script to the login script, what i mean is that when i register, i cannot login in the login script although the information comes to...
3
by: satishknight | last post by:
Hi, Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it...
9
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.