Parse error: syntax error, unexpected T_VAR
Parse error: syntax error, unexpected T_VAR in test.php on line 1
test.php
var div_contents = $("#id-title_").html();
$.post("myscript.php", { contents: div_contents });
■ test.php
var div_contents = $("#id-title_").html();
$.post("myscript.php", { contents: div_contents });
PHP?
js
PHP kod
Első sor