הנה עשיתי אך יש בעיה בשורה 7
הנה הקוד
<?php @include("config.php"); if (isset($user,$pass,$email,$icq,$homepage,$age,$sex,$onmyself)) { $link = mysql_connect("$host", "$dbpass", "$dbuser") or die (mysql_error()); mysql_select_db("$dbname", $link); mysql_query("INSERT INTO members (id, user, pass, email, icq, homepage, age, sex, onmyself) VALUES ("$id", "$user", "$pass", "$email", "$icq", "$homepage", "$age", "$sex", "$onmyself")"); echo "ההרשמה נתבצעה בהצלחה!!!"; }else{ ?> <html> <body dir="rtl"> <form action="signup.php" method="post"> שם משתמש : <input type="text" name="user"><br> סיסמא : <input type="password" name="pass"><br> כתובת דוא"ל : <input type="text" name="email"><br> מספר ICQ : <input type="text" maxlength="9" name="icq"><br> דף בית : <input type="text" name="homepage"><br> גיל : <input type="text" name="age" maxlength="2"><br> על עצמי : <br> <textarea name="onmyself" rows="10" cols="40"> </textarea><br><br> <center><input type="submit" value="הרשם"><input type="reset" value="נקה שדות"></center> </form> </body> </html> <? } ?>
מה הבעיה ?? איפה טעיתי???