$rez_products = $parser_mysqli->query('
SELECT *
FROM `'.CATS_TABLE.'`
WHERE 1
');
while($link = $rez_products->fetch_object())
{
//echo $link->name.'<br>';
var_dump($parser_mysqli->query('
UPDATE `'.CATS_TABLE.'`
SET `name` = "'.$link->name.'"
WHERE id = "'.$link->id.'"
'));
}