Page 1 of 1

mysqli_ ..type functions ??

Posted: Thu Aug 30, 2007 1:09 am
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

Posted: Tue Sep 18, 2007 6:43 pm
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