Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- mysql real escape string deprecated?


whoisgregg - 2:52 pm on Jun 20, 2012 (gmt 0)


The simplest migration would be to switch to the MySQL improved extension [php.net]. Assuming you have that extension, you can just swap out all your mysql_* functions with mysqli_* and everything should just work. (See Example #1 on this page [us2.php.net].)

Of course, there is more to the MySQL improved extension that just an extra letter in the function names and learning more about it may improve your coding and/or the performance of your scripts. :)


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4466499.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com