MySQLi can be used in a procedural fashion or an OO fashion.
See the API documentation for an example of each:
http://ca3.php.net/manual/en/mysqli-stmt.prepare.php
MySQLi base also has a prepare method which would be more or less the same as going directly through the MySQLiStatement class.