gpt4 book ai didi

mysql - PHP 运行/GET 语句

转载 作者:太空宇宙 更新时间:2023-11-03 11:49:28 25 4
gpt4 key购买 nike

我需要有关获取语句和在 PHP 网站上运行的帮助这是我的 PHP 代码

PHP CODE


这就是我保存它的方式,但它只保存了用户名......

http://example.com/NC0.php?U=namehere

我已经在下面尝试过了,但是它不起作用

http://example.com/NC0.php?U=namehere?P=passhere

我怎样才能让它像........ NC0.php?U=namehere?P=passhere

或类似的东西谢谢!!!

最佳答案

您多次使用 ?。它意味着开始查询!要在 URL 中包含多个参数,您可以使用 & 符号来区分参数。

例如,

http://example.com/NC0.php?U=namehere&P=passhere

关于mysql - PHP 运行/GET 语句,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36421430/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com