当前位置:Gxlcms > PHP教程 > PHP字符串连接,求大神编辑,解答

PHP字符串连接,求大神编辑,解答

时间:2021-07-01 10:21:17 帮助过:18人阅读

echo "". $row["news_title"] . "";


要把这个输出出来,改了部分,单引号双引号嵌套绕晕了,该怎么改?求指教


回复讨论(解决方案)

echo "". $row["news_title"] . "";

$args = "'news','项目公告','home/news/news.php?id=".$row[news_id]."'";echo ''.$row['news_title'].'';

echo "". $row['news_title'] . "";

echo "". $row["news_title"] . "";

有问题,麻烦您再改改,谢谢

echo <<< HTML
$row[news_title]
HTML;

echo "". $row['news_title'] . "";

echo "". $row['news_title'] . "";
改了下

echo "". $row['news_title'] . "";
改了下

echo "". $row['news_title'] . "";
改了下


谢谢

人气教程排行