I am just trying to do a password checkup script and this is not seeming to be so easy...
Here is the code I have, the HTML form posts to the .php:
// connecting to the db
$link = mysql_connect ($host, $user, $pass);
// the db query
$q = "SELECT * WHERE Email = $email1 from $table";
$results = mysql_db_query ($db, $q, $link);
echo "$results // ";
echo "$email1";
// fetching the results
while ($row = mysql_fetch_array($result)){
echo "$row[Password] ";
};