ده الكود
<?php
$host="localhost";
$user="root";
$pass="root";
$db="xml";
mysql_connect($host,$user,$pass);
mysql_select_db($db);
$firstname=$_POST['firstname'];
$lastname=$_POST['lastname'];
$email=$_POST['email'];
$password=$_POST['password'];
$sql="INSERT INTO search(firstname,lastname,email,password) VALUES('$firstname','$lastname','$email','$password')";
if($_POST['submit']){
mysql_query($sql);
}
?>
" method="POST">
firstname:
lastname:
email:
password:
التعليقات