:D اخواني انا جهزت هذا الكود ولكن ظهرت مشكلة في السطر 17 و18
واتمنى تشوفون المشكلة
<html dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>rig</title>
</head>
<body>
<?
$connect = mysql_connect("localhost","root","406723");
$db = mysql_select_db("daffah,$connect");
$name = $_POST['name'];
$pass = $_POST['pass'];
$mail = $_POST['mail'];
$result = mysql_query("SELECT * FROM user_name", $link);
$num_rows = mysql_num_rows($result);
if(!$name&&$pass&&$mail) {
echo "you";
echo "<br?>";
echo "<a href=\"...rig.php\">yes</a>";
}
elseif ($num_rows >= 1) {
echo "ther is";
}
else {
"INSERT INTO user (name,pass,email) VALUES ('$name' , '$pass' , '$mail')";
}
mysql_close($connect)
?>
</body>
</html>والف شكر لكم
