$stmt = $dbh->prepare( 'SELECT foo, bar from fooBar where foo = :fooValue' ); $stmt->bind( ':fooValue', $foo ); $stmt->execute();
$stmt = $dbh->prepare( 'SELECT foo, bar from fooBar where foo = ?' ); $stmt->execute($foo);