php - 我不能从 URL `$_GET['id']`
问题描述
我尝试使用引导模式中的更新方法,但是当我单击编辑并且 url 以这种方式出现时http://localhost/../pages/typography#edit?id = 15
。我不能 $_GET ['id'] 错误是,indeterminate index
解决方案
尝试http://localhost/../pages/typography?id=15#edit
哈希部分(之后的所有内容#
)通常不会发送到服务器进行处理。您希望服务器接收的任何内容都需要在#
符号之前。
推荐阅读
- python - 匹配所有内容的正则表达式,直到找到一个单词
- reactjs - 导出地图组件时如何解决打字稿错误
- database - 图像名称未保存在数据库 codeigniter 3 中
- control-m - Control-M: SMART 文件夹 - 获取内部工作的信息
- react-native - 如何使用来自 react native 的令牌存储响应令牌和注销
- c++ - glClearColor 和混合
- chilkat - 如何解决 Chilkat DLL 错误 - FARM 更新?
- ruby - 红宝石中的卷发
- sql - 计算列上的 Oracle sql 案例
- android - 嵌套异步监听器