Passing a Variable
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) retrieved 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. I was hoping to store the email address in VALUE, but that doesn't seem to be possible.
Checked names would receive emails as I would $_POST entires from the the check from the mailer The difficulty is in storing the email address in the VALUE. This compiles, but I am unable to determine value. (echo value, echo $value, echo $check -- none work
<input type="checkbox" name="check" value="$email">
gives me a check box w/ the members name next to it, but how will I pass the email address?
doesn't work. is a str_replace possible?
Regards & Thank you, --Larry