AMRUTA Posted September 28, 2013 Share Posted September 28, 2013 Hello everyone.. i am stuck with following code and i want to use it in PDO plz help me if($number>0) { $id=mysql_result($result,0,"id"); $_SESSION['id']=$id; somepage.php } Link to comment https://forums.phpfreaks.com/topic/282495-using-mysql_result-in-pdo/ Share on other sites More sharing options...
Ch0cu3r Posted September 28, 2013 Share Posted September 28, 2013 If you're using PDO then you cannot use the mysql_* function library along side it. fetchColumn is an equivalent to mysql_result Link to comment https://forums.phpfreaks.com/topic/282495-using-mysql_result-in-pdo/#findComment-1451524 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.