the formulaire html and php/pdo <p>can someone help me please I search from a week and the page post Notice: Undefined index: username in C:\Program Files\EasyPHP-DevServer-14.1VC9\data\localweb\test.php on line 17</p> <p>Notice: Undefined index: password in C:\Program Files\EasyPHP-DevServer-14.1VC9\data\localweb\test.php on line 19</p> <p>Notice: Undefined index: email in C:\Program Files\EasyPHP-DevServer-14.1VC9\data\localweb\test.php on line 21</p> <p>and i don't find the problem in the code and please explaine i want to learn thank you </p> <pre><code>'&lt;form action="test.php" method="post"&gt; &lt;input placeholder="username" type="text" name="username" &gt;&lt;/input&gt; &lt;input placeholder="password"type="password" name="password" &gt;&lt;/input&gt; &lt;input placeholder="email"type="email" name="email" &gt;&lt;/input&gt; &lt;input type="submit" value="OK"/&gt;&lt;/input&gt; &lt;/form&gt; &lt;?php $dsn = 'mysql:dbname=guyideas;host=localhost'; $user = 'root'; $password = ''; $dbh = new PDO($dsn, $user, $password); $username = $_GET['username']; $password = $_GET['password']; $email = $_GET['email']; $stmt = $dbh-&gt;exec('INSERT INTO `guyideas`.`users` (`username`, `password`, `email`) VALUES ("'.$username.'", "'.$password.'","email");'); ?&gt;' </code></pre>