I have problems with switch case...
When I use ENCTYPE="multipart/form-data" in my code for browse window, switch case doesn't work,
it doesn't recognize case variable as a string. If I give numbers as case names everything works well.
ex.
switch($todo):
{
case 'upload':
... function ...
break;
case 'download':
... function ...
break;
default:
etc.
}
So this isn't working, but if cases had number values and were named 0,1,2 everything was working.
Why???