msafvati
دوشنبه 24 دی 1386, 16:32 عصر
با سلام
من در بروز رسانی مقادیر موجود در دیتابیسم دچار مشکل شدم و با این هشدار روبه رو شدم.
دوستان اگه امکان داره راهنمایی کنند
با تشکر
<?php
$new_Edu=$_GET['txt1'];
$new_Back=$_GET['txt2'];
$new_Otherskiils=$_GET['txt3'];
$new_Age=$_GET['txt4'];
$new_Tell=$_GET['txt5'];
$SqlUpdate="UPDATE tblReguser SET Background = '$new_Back' , Otherskills = '$new_Otherskiils' , Age = '$new_Age' , Tell = '$new_Tell' where Edu = '$new_Edu'";
$connectionstring=odbc_connect("user","","");
odbc_do($Sqlupdate,$connectionstring) or die("Error".odbc_errormsg());
echo "Record successfully updated!";
odbc_close($connectionstring);
?>
warning is:
Warning: odbc_do(): supplied argument is not a valid ODBC-Link resource in D:\MAS\Prj2\Local path\MASUdate\Update.php on line 249
Error
من در بروز رسانی مقادیر موجود در دیتابیسم دچار مشکل شدم و با این هشدار روبه رو شدم.
دوستان اگه امکان داره راهنمایی کنند
با تشکر
<?php
$new_Edu=$_GET['txt1'];
$new_Back=$_GET['txt2'];
$new_Otherskiils=$_GET['txt3'];
$new_Age=$_GET['txt4'];
$new_Tell=$_GET['txt5'];
$SqlUpdate="UPDATE tblReguser SET Background = '$new_Back' , Otherskills = '$new_Otherskiils' , Age = '$new_Age' , Tell = '$new_Tell' where Edu = '$new_Edu'";
$connectionstring=odbc_connect("user","","");
odbc_do($Sqlupdate,$connectionstring) or die("Error".odbc_errormsg());
echo "Record successfully updated!";
odbc_close($connectionstring);
?>
warning is:
Warning: odbc_do(): supplied argument is not a valid ODBC-Link resource in D:\MAS\Prj2\Local path\MASUdate\Update.php on line 249
Error