What I want to do is from a list select who I want to send an email to I
want to be able to select multiple persons to send the same message but im
all confused what should I be looking for
here's what I have
mysql db is named ucems and the table is employees and the fields
'last','first','add' I want to order the list by last but the email address
is under the field 'add '
<select name="add" multiple size="40">
<?php
mysql_connect ("localhost","user","");
mysql_select_db ("ucems");
$query = "SELECT * FROM employees ";
$result = mysql_query($query);
while($cn = mysql_fetch_row($result))
{
print("<option value=\"$cn[0]\">$cn[1]\n");
}
?>
<form method="post" action="sendmail1.php">
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
then this goes to
<?
$message = $REQUEST['message'] ;
$sendto = $REQUEST['add'] ;
mail( $sendto, "Feedback Form Results",
$message, "From: $email" );
header( "Location: http:/thanks
thanks for the help
gio