lingolatz Posted May 25, 2012 Share Posted May 25, 2012 I have been seeing more and more 'mysqli' stuff around instead of 'mysql' commands. I finally searched it and came up with that it is 'improved'. I did not feel the need to know much more after reading that 'mysql' would be deprecated by the release of PHP 6, so I looked into converting to 'mysqli'. In a simple search, I found this converter tool on a wiki page by mysql.com: http://forge.mysql.com/wiki/Converting_to_MySQLi. I backed up one of my directories and tested it locally. I was given this list of results of which files it altered, how many mysql_* functions were found, etc. (what I find ironic is that I put the converter in the directory I converted, and I got only warnings for files in that directory). Anyways, when I went to see how my scripts ran on Firefox, they turned out identical. However, as I check the source, I have yet to find an actual adjustment. Did this 'converter tool' work? How should I convert to mysqli? Thank you in advance, Lingolatz Link to comment Share on other sites More sharing options...
Larry Posted May 25, 2012 Share Posted May 25, 2012 I wouldn't use a conversion tool if I were you. It's really easy to switch from MySQL to MySQLi. Just check the PHP manual for the proper arguments for the functions involved. Link to comment Share on other sites More sharing options...
Recommended Posts