In regard to the array.php assignment page, the instructions state "Using array functions echo back to the user the selections he/she made.", what are these functions supposed to do? Should we use the functions listed on page 104-106 to alter the information sent by the user or just output the created array using a for loop or the print_r function? Also, if we do need to use the above mentioned functions how many do we need to use?
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
Say you have tw check boxes like this:
Language: PHP
<form action=""><input type="checkbox" name="vehicle" value="Bike">I have a bike<br><input type="checkbox" name="vehicle" value="Car">I have a car
</form>
You need to send "vehicle" as an array, then extract it and present the selections back to the user. How you do that is your choice.
I know how to read data from an input element on a form and use it as a variable in php.
But if I have say an extra textbox that I want to use to display my results, hoW do I get the
results to diSplay on the text box? this all on one php file !
yOU URGENT RESPONSE WILL BE APPRECIATED!
as you can see , deadlines always produce all kinds of errors !