<html> <head> <title>HELLO WORLD!</title> </head> <body> <?php echo "HELLO WORLD!"; ?> </body> </html> http://127.0.0.1:8080/hello.php syntax error, unexpected '"HELLO WORLD!"' (T_CONSTANT_ENCAPSED_STRING) 原因:把代码按照上面的写一下,里面有中文的空格。 |
|