In
db_connect.php
we have a
variable called
$table which
should be the
name of the
table where the
user
information is
stored. Why not
use that
variable
throughout
register.php?
$q2 =
mysql_query(&q
uot;SELECT *
FROM
'members'
WHERE
'username' =
'".$_POS
T['username']
."'&quo
t ;
changed to:
$q2 =
mysql_query(&q
uot;SELECT *
FROM
'"$table
"' WHERE
'username' =
'".$_POS
T['username']
."'&quo
t ;
|