homepage Welcome to WebmasterWorld Guest from 54.205.144.54
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Php migrating from mysql to mysqli
cfmtravel




msg:4643075
 7:42 pm on Feb 6, 2014 (gmt 0)

I want to switch from mysql to mysqli and I found the MySQL Converter Tool.
I couldn't use for all the directory but I can use it to convert a snippet.
In the project that I'm working I have close to 70 files but the good news is that I use a class so basically the file to modify is just db.class.php (it's an old class found it online few years ago you can see here [slaout.linux62.org...]

I tryed to modify but I don't know if the result is correct, I have the file and I wish somebody more expert than me could give a look (it's around 300 rows). I receive some errors but the class seems working but I'm not sure at all.

Hope somebody can help

Thanks

 

omoutop




msg:4646375
 2:48 pm on Feb 18, 2014 (gmt 0)

first step is to fix the errors
then, test your scripts locally or in a testing box
when you are sure all is working as intended, upload to live server - backup everything first

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved