Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment Update Counter #9

Open
net123 opened this issue Feb 2, 2017 · 0 comments
Open

Increment Update Counter #9

net123 opened this issue Feb 2, 2017 · 0 comments

Comments

@net123
Copy link

net123 commented Feb 2, 2017

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 ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant