Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我想在这个链接中放一个变量值“90”,我不知道该怎么做。有谁知道如何做到这一点?抱歉这个愚蠢的问题我对 PHP 编程比较陌生。
$url = "http://junna.com/mamba90nina";
谢谢!
您可以通过创建变量($value正如我在下面所做的那样)然后使用连接$url字符串来做到这一点.
$value
$url
.
$value = '90'; $url = "http://junna.com/mamba" . $value . "nina";