//my update query $query = "UPDATE articles SET title=\'$title\', author=\'$author\', body=\'$body\' WHERE id = {$uid}";