在 PHP 中生成输出时是否可以回显退格键?
情况:
if ($this->s) {
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=exportevent.csv");
header("Pragma: no-cache");
header("Expires: 0");
echo $this->s;
exit;
}
我在我的一个视图(Zend MVC)中编写了上面的代码,在打印 $s 时,附加了一些(30)个空白行。我想退格这些行。有什么方法吗?