1.

Solve : Siple for programmer error unexpected T_STRING?

Answer»

Can someone PLEASE spot my error here Ive COMPARED it to my other stuff just like it and Im not seeing the problem. Line 14 is
Code:

$Frequency MHz = $HTTP_POST_VARS["Frequency MHz"];

Big THANKS in advance

Parse error: syntax error, unexpected T_STRING in /public_html/php/Freq_Table_dml.php on line 14

Code:

{
$Channel = $HTTP_POST_VARS["Channel"];
$Frequency MHz = $HTTP_POST_VARS["Frequency MHz"];
$MHZ Range = $HTTP_POST_VARS["MHZ Range"];
$Type = $HTTP_POST_VARS["Type"];
$COLOR = $HTTP_POST_VARS["Color"];
$LICENSE = $HTTP_POST_VARS["License"];
$Comment = $HTTP_POST_VARS["Comment"];
}A variable can't have a space, so lines 14 and 15 are affected. Try using an underscore (_).



Discussion

No Comment Found