This code works perfect for obtaining the correct email address based on
drop down and updating the addpackages table. I could replace “email”
with “fname”, “lname”, etc etc and it would work fine also. Whats
killing me is I can only get one parameter to pass and update. I
cannot for the life of me figure out how to pass email, fname, and lname
based on the selected drop down.
This code works perfect for obtaining the correct email address based on
drop down and updating the addpackages table. I could replace “email”
with “fname”, “lname”, etc etc and it would work fine also. Whats
killing me is I can only get one parameter to pass and update. I
cannot for the life of me figure out how to pass email, fname, and lname
based on the selected drop down.
Help!!!
You would need to use param_name[] if you want to be able to read an
array of parameters instead of just the one value.
with “fname”, “lname”, etc etc and it would work fine also. Whats
killing me is I can only get one parameter to pass and update. I
cannot for the life of me figure out how to pass email, fname, and lname
based on the selected drop down.
Don’t. Pass the primary key (ie. ‘id’) in the and then your
controller look up that roster entry and now you have access to
everything
you want.
with “fname”, “lname”, etc etc and it would work fine also. Whats
killing me is I can only get one parameter to pass and update. I
cannot for the life of me figure out how to pass email, fname, and lname
based on the selected drop down.
Don’t. Pass the primary key (ie. ‘id’) in the and then your
controller look up that roster entry and now you have access to
everything
you want.