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!
Ok... I have an option pull-down that changes the maxlength of a text area onchange (that part works fine). I have the 'name' for the option as 'contact_name' so every time contact_name != "" it sends an email when form is submitted. My problem is that i am using the 'value' for the option to change the maxlength or the text area but I still need to print out a value depending on who they choose to send the email to can i print "$id" or something if i set an ID for each of the different options? This is what the <select><option> looks like before it gets sent to the IF statement that changes the maxlength.