Please tell me how to implement different interfaces with different IDs
Joker丶谦谦
Joker丶谦谦 2019-08-04 11:38:25
0
1
1221

How to implement different interfaces with different IDs? For example, news.php?id=1 is contact information, news.php?id=2 is introduction. Please tell me the principle or give me the code. Do you need to use $_GET[ 'id']

Joker丶谦谦
Joker丶谦谦

reply all(1)
angryTom

Write each page separately, then receive the value of id at the beginning of news.php to determine the value of id, and then use

require_once() based on the value of id Method, referencing the corresponding page file.


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template