-
Notifications
You must be signed in to change notification settings - Fork 1
get column
Shubham Mishra edited this page Jul 22, 2019
·
1 revision
This code is the explanation for updating column
This code illustrates - how to add data into table row.
<?php
// Requiring JDB Library
require_once "JDB/JDB.php";
// Setting up DB directory
$jdb = new CYZ_JDB(DIR."/db_directory/");
// Initialize DB
$jdb->db_init("db_name");
// Table Name
$table_name = "table_name";
// Create Table
$jdb->add_table($table_name);
// Row Data
$row_data = array("key" => "value");
// Add row to table
$jdb->add_row($table_name, $row_data); ?>
No data in DB
Row Name
Column Name
Column Name
SUBMIT