StupidBeauty
Read times:507Posted at:Sat Mar 31 16:47:53 2012
- no title specified

转载:php 判断是否get传值的参数是否存在

用get方式传递的参数可通过表达式“$_GET["id"]”来访问。

http://blog.sina.com.cn/s/blog_4ea8be380100g8ur.html

亮点:

if(is_array($_GET)&&count($_GET)>0)//先判断是否通过get传值了
{
if(isset($_GET["id"]))//是否存在"id"的参数
{
$id=$_GET["id"];//存在
}
}

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4