Mysql or mysqli

I want to know which syntax I should use and which one is better ?

I’ve been using mysql till now, and now trying to get my hands dirty with “mysqli” , it is almost similar to the previous one but a lil difference though.

So which one I should use. What are the suggestions of php experts here ?

You need mysqli for prepared statements and stored procedures that return result sets.


^-- what he said. :wink:

both can get the job done,