Php embedded in html is garbled, and the simplest php program cannot use PHPcode & lt; html & gt; & lt; head & gt; & lt; title & gt; connect. php & lt;/title & gt; & lt;/head & gt; & lt; body & gt; php embedded in html contains garbled characters, and the simplest php program is useless.
PHP code
connect.php This is true.">ÕâÊǸö³¬Á´½Ó
$b){ $a++; } $c=$a+$b; echo "a+b=".$c;?>
I am here only
PHP code
$b){ $a++; } $c=$a+$b; echo "a+b=".$c;?>
Yes
Or
PHP code
This is true."> Super connection
It can also be displayed,
However
PHP code
And then garbled characters... Why?
------ Solution --------------------
It should be impossible. Unless it is garbled.
------ Solution --------------------
Check your file encoding.
------ Solution --------------------
1. file encoding
2.html encoding
------ Solution --------------------
PHP code
Connect. php This is true."> Hyperlink
$ B) {$ a ++;} $ c = $ a + $ B; echo "a + B =". $ c;?>