【发布时间】:2013-02-06 17:59:59
【问题描述】:
echo '\n....'.$_SESSION['count'].' rows inserted.........................\n';
no new line using this
echo "\n....".$_SESSION['count']." rows inserted.........................\n";
gives new line with this
为什么 ' 和 " 表现不同
【问题讨论】:
-
这在关于字符串的基本 PHP 文档中有所介绍 - php.net/manual/en/language.types.string.php - 请在来这里询问这些基本问题之前阅读手册