PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a form that people can select an person to send a message to. The form field is the persons name.
In my php I want to have the persons address selected based on their name. So, if bob is selected the email goes to bob@bobsdomain.com and so forth. Right now the email will send to the first selection but not to the rest. Any ideas?
if this form posting or getting? var_export($_POST) or var_export($_GET) should show you what information was submitted, it may be coming across different than you think..