I firstly fetch the query from MYSQL database and email it to my mail
MYSQL
$sqll = "SELECT motheremail FROM family WHERE familyId = 1004";
$email_message = mysql_query($sqll)or die(mysql_error());;
But As a message on email i get “Resource id #83” and not the thing that is in table
any ideas why?
You need to fetch the result of your query.
Or if more than one row is expected, fetch them inside a
whileloop: