darkfreaks Posted July 11, 2012 Share Posted July 11, 2012 is there a PDO equivalent of this and how would i use it in an example code? Quote Link to comment Share on other sites More sharing options...
xyph Posted July 11, 2012 Share Posted July 11, 2012 It's built within fetch http://php.net/manual/en/pdostatement.fetch.php Quote Link to comment Share on other sites More sharing options...
scootstah Posted July 11, 2012 Share Posted July 11, 2012 You can use PDO::FETCH_ORI_ABS, but unfortunately it's not supported by MySQL. $result = $stmt->fetch(PDO::FETCH_ASSOC, PDO::FETCH_ORI_ABS, [row number]); Quote Link to comment Share on other sites More sharing options...
xyph Posted July 11, 2012 Share Posted July 11, 2012 The joys of database abstraction. You can only stick to the basic functionality if you actually want to stay abstract. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.