hi,
You need to check and make sure you have a record returned after your query. I think that after you execute your script there is an empty results set returned and when you call extract() it does not have any records and returns an error.
In you example you say that
$query = "SELECT * FROM Practitioners WHERE Email='$loginName' AND Password=Password('$password')";
The password() encrypts the test into a one-way password possibly something is happening where it does not match and the error appears.
Use some error checking something like this..
$num_rows=mysql_num_rows($mysql_result);
// We have no results
if ($num_rows == 0) {
echo "Sorry, we have no records";
} else {
// We have results so create a table to display the desired record
}
hope this helps,
- justin