At the beginning of the program, the error is: PHPParseerror: syntaxerror, unexpectedT_ENCAPSED_AND_WHITESPACE, expectingT_STRINGorT_VARIABLEorT_NUM_STRINGinvarwwwdeveloperpp18-22phponline5, referer
At the beginning of the program, the following error occurs: PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in/var/www/developer/pp1/8-22.php on line 5, referer: http: // localhost/developer/pp1/form_input.html
I checked it online and said it was a syntax error. I checked the syntax and found an error in the echo statement in the line after the 8-22.php group. I should change it to echo "the product will arrive within three days ". $ _ GET ['address']."
"; Note the dots on both sides of $ _ GET ['address.
In addition, the error code 8-22.php is:
- Echo $ _ GET ['Company']. "Hello:
";
- Echo "thanks to your company for subscribing to our products". $ _ GET ['amount ,";
- Echo "total payment". ($ _ GET ['amount'] * 100). "RMB.
";
- Echo "the product will arrive at $ _ GET ['address'] within three days.
";
- ?>