Ok... so I've got a signin page where a user enters their email and password. I then want to verify that the user is in the database.

I've tried testing it first to make sure I can access the rightrecord. I am trying to search for a customer by email address. Here is my code snippet

$result = mysql_query("SELECT * FROM customer WHERE email = $email");
$row = mysql_fetch_row($result);
print $row[0];
print $row[1];

I have tried single quotes around $email but that doesn't work. I have also tried escaping the double quote, which also doesn't work.

Can somebody point me in the right direction? If I replace $email with a value from the database, it works fine, and displays the first 2 fields (row 0 and row 1)