|
|
|
|
![]() ![]() |
Jul 27 2005, 09:21 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
I have a mysql database with 99 people.
The first column on db is call id and assigns a diferent 4 digit number to each person. Second column contains each person`s complete name.... someone tells me i need an adittional user column to asign a username to each person...(cause i want a login page) but since i already have a different name and a different id for everybody, why would i need a such column? can someone please tell me how can i use this 2 columns (name and id) so they can type their complete 4 digit id and just part of their name to enter through a login page (i dont want them to type their complete name, just part of it, and theit complete id. can this be done with php? or its related to mysql? |
|
|
|
Jul 27 2005, 10:10 PM
Post
#2
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,161 Joined: 9-May 05 From: Brisbane, QLD Member No.: 6,818 |
QUOTE(kvarnerexpress @ Jul 28 2005, 07:21 AM) can someone please tell me how can i use this 2 columns (name and id) so they can type their complete 4 digit id and just part of their name to enter through a login page Enabling people to just type a part of their name means more scripting to process the form because you're not looking for an exact match. It also means that people will be able to guess login details more easily because the form isn't applying as strict controls. And usually login names are unique which won't be the case if you allow people to enter just part of their name (e.g. if you have 2 people named John). |
|
|
|
Jul 27 2005, 10:40 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 27-July 05 Member No.: 9,930 |
If you find out, would you object to telling me which php script you are using? I kind of need the same sort of database for a website.
Thanks! QUOTE(kvarnerexpress @ Jul 27 2005, 02:21 PM) I have a mysql database with 99 people. The first column on db is call id and assigns a diferent 4 digit number to each person. Second column contains each person`s complete name.... someone tells me i need an adittional user column to asign a username to each person...(cause i want a login page) but since i already have a different name and a different id for everybody, why would i need a such column? can someone please tell me how can i use this 2 columns (name and id) so they can type their complete 4 digit id and just part of their name to enter through a login page (i dont want them to type their complete name, just part of it, and theit complete id. can this be done with php? or its related to mysql? |
|
|
|
Jul 28 2005, 12:57 AM
Post
#4
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,182 Joined: 24-September 04 Member No.: 1,245 |
what does that mean a mysql data with 99 people..
Oh..i'm faint of that. i just use the cpanel for this things. |
|
|
|
Jul 28 2005, 06:33 PM
Post
#5
|
|
|
Kween of Everything :) ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,052 Joined: 16-October 04 From: Houston, Tejas :D Member No.: 1,774 |
QUOTE(guangdian @ Jul 27 2005, 06:57 PM) what does that mean a mysql data with 99 people.. Oh..i'm faint of that. i just use the cpanel for this things. A database used to log certain bits of information about an executed script has 99 users on it. Basically, it's like a server-side list of users of your site upon other things which you can tell your site to use to, say, let someone log in. It's within the cPanel under the databases section. That was a bad description, sorry :/ |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 11:39 AM |