Shown data from mysql query in php file:
while ($row = mysql_fetch_array($sql)){
echo 'ID: '.$row['ID'];
echo ' First Name: '.$row['First'];
echo ' Last Name: '.$row['Last'];
echo ' Phone: '.$row['Phone'];
}
I need to send those results to email
How to do this? like:
$message = 'ID: '.$row['ID'];
not working: I receive message "ID:" without result