היי אנשים,
אני בונה אתר שעל מנת שהוא והפורום יעבדו על אותו מסד אז את האתר אני מתאים לפי מסד הנתונים של הפורום.
משום מה כשאני רוצה להכניס נתונים למסד של הפורום דרך האתר הוא רושם לי :
Could not insert the db because Duplicate entry '0' for key 1
זה הקוד:
קוד:
$sql = mysql_query("insert into ibf_members (name,password,email)
values ('$user_name','$password', '$email')") or die("Could not insert the db because " . mysql_error());