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']
angryTom2019-08-05 17:46:00
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.