Hi there!
I have a form where user can peform diferent kind of searchs (title, date range, teacher ...) and in front of each text input or listbox I have a submit button they are almost equal except for their value:
<input type = submit name=Submit value = teacher>
<input type = submit name=Submit value = Title>
Well, I'd like to parse the HTTP_POST_VARS and peform a switch like this:
switch(HTTP_POST_VARS['Submit'))
{
case "Title" :
...
case "Teacher":
...
}
Well, that's not working ...
any suggestions?