Forum Moderators: coopster

Message Too Old, No Replies

mysqli .type functions?

         

PHPycho

6:10 am on Aug 30, 2007 (gmt 0)

10+ Year Member



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

eelixduppy

2:46 pm on Aug 30, 2007 (gmt 0)



Here's a good article that will answer most of your questions about mysqli: [devzone.zend.com...]