php <a href><⼀a>中间是变量怎么办?

2025-03-24 04:11:33
推荐回答(1个)
回答1:

echo "$_SESSION[name]";
echo ''.$_SESSION[name].'';

php 字符串里的变量是用双引号才能识别。