Brimbox Logo Brimbox Version 2.3.4 Released


Method to update the json_table with an updated JSON encoded string.

Class: bb_database, called as $main

File: bb_database.php (php)


function update_json($con, $lookup, $arr)


$main->update_json($con, $lookup, $arr);

Note: this function had a change in its parameters, two of the parameters were reversed. Please note this change, however, for the time being the old parameter order will work.

Action: Updates JSON row in the json_table.

Parameter: $con (database connector)
Valid database connection.

Parameter: $lookup (string)
Key used to find JSON row for updating in the database.

Parameter: $arr (array)
Valid PHP array to be converted to JSON and stored in database.

Updated: 2016-12-29