CSV Search
shell_exec2

Send comments on this topic.
Function to execute commands on shell, raise exception on fail. Return output.

Parameters

$cmd - Command to execute.

Contents

get_db

function get_db() {
Function to load the sessions.sb, raise exception on fail.

db_exec

function db_exec(
$db,
$cmd) {
Function to execute queries on db. Raise exception on error.

Parameters

$db - The database.
$cmd - The query to execute.

db_query

function db_query(
$db,
$cmd) {
Function to execute queries on db. Return result. Raise exception on error.

Parameters

$db - The database.
$cmd - The query to execute.

Created with TwinText