Register

Associate
Joined
28 Mar 2004
Posts
603
Location
Devon, UK
Could someone please help me with a register page I'm trying to create.

I'm trying to make a page where people can fill in their username/password/email which then goes into the database.

Tried using the default DW stuff but I get a blank page online.

Cheers
 
I dont think anything in dreamweaver will be able to do it for you.

Your going to need a database, registration form and a bit of php with some sql querys to update the tables in the database with the info given in the registration form.

That would be one way of doing it anyway. :p
 
Your going to need to look up the code to do it but as a rough guide:

Create a basic form in dreamweaver with all your fileds in that you want to store such as username, e-mail or whatever.

Set the form action to go to a php page. This php page will grab all info from the previous form and put the info into variables. Once its put it into varables you want to create a SQL query with php that will put the information from these varaibles into the appropriate field in the SQL table. ie a users table in the sql database.

Probably easier if you show us what you got so far so we can help you out.
 
Right.

I've created a table in DW. Inserted 3 text fields for UserName/Password/Email and a Register button to submit the form.

I've used the insertrecord behaviour and linked the the textfields to the table/records in my database. I've given it a page to go to afterwards as well.

Test the page online www.simpilots.co.uk/test2.php and everything is there. When I fill in data and click Register though it refreshes the page with page not found and nothing gets entered into the db.
 
Back
Top Bottom