First of all, you better use PDO (as Lior suggested) or an intermediate layer (coded by you) between your code and the database functions provided by PHP, so that you can easily change mysql with mysqli or whatever your like without re-editing your whole code.
As of the differences, mysqli has more functionalities (there are a bunch of new functions) and is also object-oriented.