Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am looking to create a simple url where I can add URL querys to it and then have these saved to a database.
This would be the format that i'm looking for
example.com?name=value1&email=value2
Could anybody help ?
从 获取脚本上的值$_GET,然后使用 PDO 或 MySQLi 将它们放入数据库中。我不知道您的数据库结构,所以我真的无能为力:
$_GET
// In index.php echo $_GET["name"]; echo $_GET["email"]; // Put them in your database