On Fri, 3 May 2024 at 17:49, Derick Rethans <[email protected]> wrote: > > Which *API* in PHP is 1-indexed? > > cheers, > Derick
Certainly isn't normal but found 1 (and only 1!):
$stmt = $pdo->prepare('SELECT name FROM users WHERE id = ?');
$stmt->bindParam(1, $id);
