A
Anonymous
Guest
147 switch($task)
148
149 {
150
151 case 'upload':
152 upload($the_file);
153 break;
154 default:
155 form();
156
157 }
Why is it displaying THIS error????
Warning: Undefined variable: task in c:\dev\intranet\news\easy-uploads.php on line 147
It works perfect but it obviosuly doesnt look right with an error msg. i try taking it out, the whole upload doesnt work!
Cheers
148
149 {
150
151 case 'upload':
152 upload($the_file);
153 break;
154 default:
155 form();
156
157 }
Why is it displaying THIS error????
Warning: Undefined variable: task in c:\dev\intranet\news\easy-uploads.php on line 147
It works perfect but it obviosuly doesnt look right with an error msg. i try taking it out, the whole upload doesnt work!
Cheers