Hi guys,
i would to know some corresponding PDO to mysqli object-oriented:
I know this is PDO:
$sql = ‘SELECT id FROM joke WHERE authorid = :id’;
$s = $pdo->prepare($sql);
$s->bindValue(’:id’, $_POST[‘id’]);
$s->execute();
How can i write in mysqli obeject-oriented?
to what the PDOelement ‘:id’ correspond in mysqli object oriented ?
Thanks…