In your database design you need the following
every username/pass comb is unique.
so a query like ... WHERE username='$testvalue' AND password='$testvalue2'
Have to give you one row for a good user/passcombination ALWAYS. And 0 rows
for a wrong combination.
If NOT your design doesn;t fit you
Mh,
right yet I have another problem. I want to select a username an a =
password from a database. The Values for tghe select are stored in a =
session variable.
And my problem is, that when I run the Query there is no difference in =
the mysql_num_rows($Result)
it both time (When the User is i
2 matches
Mail list logo