Skip to content

arsarawut/php-class-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-class-mysql

# CODE INSERT

include("mysql.php");
$mysql = new J_MYSQL;
$mysql->J_Connect();
$arr = array(
            "id" => "1",
            "fullname" => "test test"
            )
$mysql->J_Insert($arr,$table_name);
# CODE UPDATE

include("mysql.php");
$mysql = new J_MYSQL;
$mysql->J_Connect();

$arr = array(
    "id" => "1",
    "first_name" => "test2",
    "last_name" => "test2",
    "email" => "test2@test.com"

);

$key = array("id"); // where clause
$mysql->J_Update($arr,$key,"tbl_profiles");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published