View Single Post
  #7  
Old 03-13-2005, 06:21 AM
Stu is offline Stu
Resident Member

Join Date: Aug 2003
Posts: 3,319

re.

Hi kobra, heres some code for the registration page your after, remember to look carefully at the code to understand what its doing, dont just copy and paste it. The princibles are very basic;
- First I'm going to connect to the Mysql server (mysql_connect.php)
- Next I'm going to select a database (mysql_connect.php)
- Then I'll display the form for a user to fill in (register.php)
- When submit is hit, all the infomation will be submited to the tables for the selected database (register.php).
- We probally want to create the tables to, dont we? So I threw some code together for you (install.php)
- You'll need to edit the string vaules in mysql_connect.php
.
Code for mysql_connect.php
Code for register.php
Code for install.php
All this code has been tested and works, use panthers code with it, 'cause I know it does work . Hope you enjoy it
~ Regards
Reply With Quote