I have the following select: <select name=exemplare> <option value=0>Disponibila</option> <option value=1>Imprumutata</option> </select> How do I read the information from it whit php functions to insert it into a batabase?
You can read it by the name $_POST['exemplare'];
and later use it in what ever process you would like the value to go through.. 🙂
I use $REQUEST to read in php from html. If i use $POST i get the error ": Undefined index: exemplare ";
What is the diference between them?
You are probably using <FORM method='GET' >
In this case use $GET or $REQUEST either works.
I think there may be another question you want to ask. 🙂
HalfaBee
$REQUEST will be consisting the contents of $GET, $POST, and $COOKIE. $_FILES, too but only after PHP 4.3.0.