How to update table with php and mysql -


hi have been trying update status of table can figure out why aint working, shows error messege status not update

     $uid = $_get["uid"];        $query=$db->query("update users set status = 0 uid = '$uid'");         if ($query){      echo "ok"; }     else      {         echo "error.";     } 

its not update into should be

update users set status = 0 uid = '$uid' 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -