Re: queries and mail function

2004-12-18 Thread Sasha Pachev
John Visicaro wrote: Hi, This is my first post so I hope I've done it right. I am having trouble querying an email address from MySQL and then placing that field into the PHP mail function. It doesn't work. Here's my code: $query_string = "SELECT Email FROM instructors WHERE HSA_NO = '$insthsaid'";

queries and mail function

2004-12-17 Thread John Visicaro
Hi, This is my first post so I hope I've done it right. I am having trouble querying an email address from MySQL and then placing that field into the PHP mail function. It doesn't work. Here's my code: $query_string = "SELECT Email FROM instructors WHERE HSA_NO = '$insthsaid'"; $result = mysql_q