php怎么实现在查询列表中,点击查询结果跳转查询对应记录的详细内容,如图所示
Jun 13, 2016 am 11:55 AM
id
nbsp
php
php如何实现在查询列表中,点击查询结果跳转查询对应记录的详细内容,如图所示
------解决方案--------------------
不就是连接一个程序传递唯一识别表示吗?
------解决方案--------------------
查询结果中不是有吗?主键就是唯一的
------解决方案--------------------
设你的主键为 id
则 href=“datum_derai.php?id="
不就可以把 id 穿多去了吗?
------解决方案--------------------
很基本的传值,楼主该看看书了。datum_derai.php 那边用 $_GET['id'] 获取。
------解决方案--------------------
这个问题实现的方式挺多,经常使用的是get传值,当然如果想在本页面内显示也可以使用ajax相关,进行局部刷新
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article
Two Point Museum: Bungle Wasteland Location Guide
4 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
Two Point Museum: Bungle Wasteland Location Guide
4 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development
