1.

Solve : Help With Undefined Variable?

Answer»

Having trouble finding the right solution for errors in PHP. The error reads.....


Notice: Undefined variable: SELECTED in C:\wamp\www\tcpro_34000\register.php on line 264

Call Stack

#   Time    Memory   Function   Location
1   0.0124   200688   {main}( )   ..\register.php:0

Line 264 then reads...

echo "".$row['groupname']."\n\r";
$selected="";

Any idea why this is happening? Any help would be nice thanks.I'm guessing you haven't defined what the variable "selected" is before that line. Can you post the BLOCK of CODE (not the whole file)?



Discussion

No Comment Found