LarryS
08-03-2006, 12:22 AM
I am retrieving a member list from a password protected site and am developing a mailer to allow the members to send emails to some or all of the group.
Two records (of several) from the mySQL database are member name ($name) and email address ($email). I would like to print a list of member names w/ check boxes. The email address would not be shown, but stored in VALUE. Checked names would receive emails as the check[] array would be passed to the mailer The difficulty is in storing the email address in the VALUE
<input type="checkbox" name '"check[]" value=<? "$email"> echo "$name";?>
doesn't work. is a str_replace possible to pass %email%? or something else?
Regards, --LarryS
Two records (of several) from the mySQL database are member name ($name) and email address ($email). I would like to print a list of member names w/ check boxes. The email address would not be shown, but stored in VALUE. Checked names would receive emails as the check[] array would be passed to the mailer The difficulty is in storing the email address in the VALUE
<input type="checkbox" name '"check[]" value=<? "$email"> echo "$name";?>
doesn't work. is a str_replace possible to pass %email%? or something else?
Regards, --LarryS