update sql column with php while loop – Mysql
I am trying to update my table column but I keep getting one value for all the rows, what am I doing wrong? <?php $count = 1; while ( $count <= 30) { $fmle_img = "_src/img/profile/female/u$count.png"; $db->query("UPDATE users SET image=:image…