您的位置首页百科问答

header(location:index.php?什么意思

header(location:index.php?什么意思

的有关信息介绍如下:

header(location:index.php?什么意思

$hotelid是一个变量

location可以达到页面重定向的作用,该句的目的是根据$hotelid的值跳转到相应的页面

注意header前不应有输出(如echo)