Ce unde ar trebii sa pun?
Cod: Selectaţi tot
<?php
include "db.php";
if (isset($_POST['submit']));
$username=$_POST['username'];
$password=$_POST['password'];
$email=$_POST['email'];
$reg=mysql_query("INSERT INTO users(username, password, email) VALUES ('$username', '$password', '$email')");
if($reg)
{
echo "Ai fost inregistrat " .$username. ", bun venit! ";
}else
{
echo "A intervenit o problema.";
}
?>