TwistPHP Documentation

updateRow

File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
Extends:

updateRowUpdate a record in a table

Parameters

Name Type Description
$strTablestringn/a
[$arrData = array()]arrayn/a
[$arrWhere = array()]arrayn/a
[$arrLimit = array()]arrayn/a
$arrLimitarrayn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strTable 'foo';
$arrData = array();
$arrWhere = array();
$arrLimit = array();
$arrLimit = array(=> 'foo'=> 'bar');

//Call the function updateRow with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> updateRow($strTable$arrData$arrWhere$arrLimit$arrLimit);