Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14342

PDO Drivers

$
0
0
Hi,

The documentation says that PDO DB Driver is support, however, the methods generally used in PDO connections don't seem to be anywhere in the files i.e. I would have expected to see code similar to the below, but I don't.

Code:
$stmt = $pdo->prepare('SELECT * FROM users WHERE email = ? AND status=?');
$stmt->execute([$email, $status]);

Does the PDO Driver in CI use prepare and execute statements?

Thanks.

Viewing all articles
Browse latest Browse all 14342

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>