Project Management Week 6 (Part 2)
Astounding revelations!
I've just finished coding a grand portion of the project, it's quite epic now. As far as i'm aware we have to do the following:
Code a car search engine
Code a registration section
Code an admin section where staff can amend member info
Code password protection for users and staff
Well if thats the case, i've only got to code the password protection now and combine all the pages into a nice presentable website that will dazzle the rest of the class =)
Here is the great script i wrote which helped me along the way:
Check username against those in database to stop duplicates:
It is of course coupled with an else statement at the end, to process the information and write it to the database if the username is unique.
I've just finished coding a grand portion of the project, it's quite epic now. As far as i'm aware we have to do the following:
Code a car search engine
Code a registration section
Code an admin section where staff can amend member info
Code password protection for users and staff
Well if thats the case, i've only got to code the password protection now and combine all the pages into a nice presentable website that will dazzle the rest of the class =)
Here is the great script i wrote which helped me along the way:
Check username against those in database to stop duplicates:
$query1 = "SELECT * FROM tblmembers WHERE
username='$username'"; $query1_results = mysql_query($query1) or
die("Query Failed"); if (mysql_num_rows($query1_results) > 0)
{ echo "This Username already
exists."; echo "Please Go Back and enter another
Username"; }
It is of course coupled with an else statement at the end, to process the information and write it to the database if the username is unique.





0 Comments:
Post a Comment
<< Home