 |
|
พอดีเพิ่งจะหัดทำนะครับ รบกวนด้วยครับหามาหลายวันแล้ว
แก้ไม่ได้ซะที
Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in C:\AppServ\www\shop\addpass.php on line 16
ส่วน code เป็นแบบนี้ครับ
$conn = odbc_connect($dsn,$user,$pass);
$sql = "INSERT INTO personal [name,lastname,password,idcard,telephone,gender,age,address] VALUES
['$name','$lastname','$password','$idcard','$telephone','$gender','$age','$address']";
odbc_exec ('$conn','$sql');
odbc_close($conn);
Tag : - - - -
|
|
 |
 |
 |
 |
Date :
2009-07-02 18:42:58 |
By :
teerapuch |
View :
3108 |
Reply :
1 |
|
 |
 |
 |
 |
|
|
|
 |