$sqlcount1 ="SET uid = -1 UPDATE `agent_normal` SET `uid` = @a:=@a+1";
$result = mysqli_query($conn,$sqlcount1);
how to write this query in core php?
This query works in mysql but not in core php.
Here i want to update a single row of table and value should start from 0 and then should increment by 1.