mysqli_ ..type functions ??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
PHPycho
Forum Contributor
Posts: 336
Joined: Fri Jan 06, 2006 12:37 pm

mysqli_ ..type functions ??

Post by PHPycho »

Hello forums!!
I am eagerous to know the use of mysqli_ like functions for mysql operations.
1> whats the difference between mysql_ and mysqli_ type functions ?
2> which one to use and why ?
3> in some code i found a complex queries operations like
mysqli_prepare()
mysqli_stmt_bind_param()
mysqli_stmt_execute()
mysqli_stmt_bind_result()
functions found basically in OO approach, whats its advance over general mysqli_query(),mysqli_fetch_array() ?
4> which type of function is suitable for mysql operations in php5 in relative to performance ?

Can anybody clearify about the facts mentioned above ? It would really greatful for me if i know the answer.

Thanks in advance to all of you
mezise
Forum Newbie
Posts: 17
Joined: Tue Sep 18, 2007 4:38 am

Post by mezise »

Hi,

I do not know any banchmarks, but general information about mysqli is available in the manual http://www.php.net/mysqli . All functions you mentioned are described there.

Michal
Post Reply