Wow, this is the mother of all brain farts I think. The following login authentication script is not working. I have no idea why I can't see the problem....I'm just drawing a blank.
Please help! Sorry for the trouble.
Landis
//build and issue query
$sql = "
SELECT id, f_name, l_name, trim(concat(f_name, ' ', l_name)) as referee_name, address_1, address_2, city, state, zip, prim_phone,
alt_phone, email, class
FROM $table_name
WHERE username = '" .$_POST['username'] . "'
AND password = (password('" . $_POST['password']. "'));";
$result = @mysql_query($sql,$connection)or die(mysql_error());