convert form data into all CAPS
Posted: Mon Aug 11, 2014 4:17 pm
hello,
i have a form with name and address and i want to change all their inputed data to capitals. i see how to do this for 1 variable on the php site but is there a way to make 1 function change multiple variables while keeping the variables the same name?
thank you
$name = john doe
$address = 123 sesame street
turn into
$name = JOHN DOE
$address = 123 SESAME STREET
thank you
i have a form with name and address and i want to change all their inputed data to capitals. i see how to do this for 1 variable on the php site but is there a way to make 1 function change multiple variables while keeping the variables the same name?
thank you
$name = john doe
$address = 123 sesame street
turn into
$name = JOHN DOE
$address = 123 SESAME STREET
thank you