-3

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 ?

4

1 回答 1

0

从 获取脚本上的值$_GET,然后使用 PDO 或 MySQLi 将它们放入数据库中。我不知道您的数据库结构,所以我真的无能为力:

// In index.php
echo $_GET["name"];
echo $_GET["email"];

// Put them in your database
于 2013-10-15T13:03:00.737 回答