PHP+JS改变网页标题

        <?php
        $title="New Title";
    echo "<script>document.title = \"".$title."\" </script>";
include("newhtml.html");
        ?>

猜你喜欢

转载自blog.csdn.net/sinat_30658665/article/details/80282485