php - what mysqli functions to use instead of mysql? -


This would probably sound too dumb. I have a mysql function in which the following is ...

prefix @ mysql_connect () @ mysql_select_db ($ database name, $ link); Mysql_query ($ sql, $ link); Mysql_error ($ results, MYSQL_ASSOC) mysql_num_rows ($ Result) Can I do just one bench after mysql like this ... @ mysqli_connect mysqli_query ($ link, $ sql); Mysqli_error ($ link) "]". Mysqli_fetch_array ($ result, MYSQLI_ASSOC)) mysqli_num_rows ($ result);

I know that the first two are fine, but what about others? I'm not sure that these works actually exist as swaps mysqli versions directly. More information about them can not be found.

What will be my equity there?

Can I use mysqli_connect and mysqli_query, but can use the old mysql function for others? Do they work together

Here is the "book" area of ​​the PHP manual that will show you each mascile The available function is very correct in your assumption; Naming is applicable to adding a lot of 'I' to the conference, but to ensure that it exists, take a peak here:


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -