the format file.php?question=answer means the script is been called via GET method from FORM.
so if you have a form, which has ACTION="file.php?view=show" and then you have a button to process that ACTION e.g.
<INPUT TYPE="submit" VALUE="Show View">
and then, in your file.php you can have:
if ($submit) {
if ($view == 'show') {
echo 'hello, this is show view';
}
else if ($view == 'edit') {
echo 'this is edit view';
}
}
i hope this clears up the idea.
regards,
Daarius...