Now the user must input the data as specified in the
next file, index3.wml. We ask the user to insert the name of a subject
or the surname of a professor. Look how variables are sent, in this
page and in the previous. The syntax is pretty complex, but it lets
you handle all the whole process, with only a few files.
if (${$choice} == "surname") {
echo ("professor's surname (or part of it).<br />\n");
} else if (${$choice} == "subject") {
echo ("the subject (or part of it).<br />\n");
} else {
echo ("Maybe there is some problem.<br />\n");
}