View Single Post
ישן 11-01-06, 21:53   # 6
שקד
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Dec 2005
מיקום: ירושלים
גיל: 39
הודעות: 659

שקד לא מחובר  

ציטוט:
נכתב במקור על ידי Pip
נקודה פסיק ;

PHP קוד:
<?
$user 
$_POST['user'];
$pass $_POST['pass'];
include 
'db.php';
mysql_query(" INSERT INTO login VALUES('','$user','$pass')");
mysql_close(); 
?>
אם בה לך לדעת לא חייב להשים
PHP קוד:
mysql_close(); 
ציטוט:
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution
__________________