Friday, September 27, 2019

Convert mysql to mysqli

Today to want to share how i convert from old system that using mysql to mysqli..

First this is for config file.

mysql



mysqli

 

changes also have to do in fn file

mysql



mysqli



Can you see the different that you have to add or adjust a bit.

in your files where your actual code to show add those file in the beginning.

<?php
session_start();
include_once 'include/config.php';
include_once 'include/fn.php';
?>

like this.
 

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...