943,458 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 5418
  • ColdFusion RSS
Jul 25th, 2004
0

Registration form help

Expand Post »
I can't seem to find a tutorial or anything about this kind of registration form. It is extremely urgent, so any help is *greatly* appreciated.

Ok, i have a registration form needing to submit the following information:

DSN: userlogin

User_ID: i want this submitted to all the tables in my database. It's not an autonumber.

Align_Name: I want this submitted to the alignment table only.

And last, I want the email, password, and user_name submitted to the registration_form table.

Also if you have any other tips - THANKS!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
charmed0rz is offline Offline
1 posts
since Jul 2004
Jul 26th, 2004
0

Re: Registration form help

This should get you started

<cfform Action= "Put the name of the page that your insert query is on" Method= "Post" Name="InsertCustInfo" enablecab="Yes">

First Name: <input type="text" Name="FName">
Last Name: <input type="text" Name="LName">
EMail: <input type="text" Name="Email">
UserName: <input type="text" Name="UserName"></td></tr>
Password: <input type="text" Name="Password">


<td><INPUT type ="Submit" Value ="Submit"></td>

</cfform>



Query page


<cfquery datasource="myDSN" name="GetCustInfo">

INSERT INTO CustTable (CustFirstName, CustLastName, CustAddress, CustCity, CustZipCode, UserName, Password, Password2)
VALUES ('#Form.FName#', '#Form.LName#', '#Form.Email#', '#Form.UserName#', '#Form.Password#')
</cfquery>
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cfnut is offline Offline
8 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: Setting up user name and password
Next Thread in ColdFusion Forum Timeline: IF statement





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC