how to update counter values with it ??
like $update = array(
'views' =>'views' +1
);
//Add the WHERE clauses
$where_clause = array(
'path' => $url);
$updated = $database->update( 'datas', $update, $where_clause, 1 );
if( $updated )
{
echo '
Successfully updated';
}
like how to make it working??
and how to run manual commands mysqli commands mysef ???
how to update counter values with it ??
like $update = array(
'views' =>'views' +1
);
//Add the WHERE clauses
$where_clause = array(
'path' => $url);
$updated = $database->update( 'datas', $update, $where_clause, 1 );
if( $updated )
{
echo '
Successfully updated';
}
like how to make it working??
and how to run manual commands mysqli commands mysef ???