我想创建一个 YouTube 视频列表,如教程。但是我不想为每个视频创建每个页面,我看到许多网站通过使用查询字符串来做到这一点,但我不知道如何使用它,谁能给我一个例子。
===index.php===
<html>
<body
<a href="tutorial.php?id=10">First tutorial</a>
<a href="tutorial.php?id=11">Second tutorial</a>
<a href="tutorial.php?id=12">Third tutorial</a>
</body
</html>
===tutorial.php===
<?php
$id = $_GET['1'];
**//So how do I display a page and video here?
//How would it determine where is id=10, id=11, id=12.....**
?>
谢谢