Guest User

Untitled

a guest
Feb 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $result = mysqli_query($connect, "SELECT Name FROM table");
  2.  
  3. while($row = mysqli_fetch_assoc($result)) {
  4. $name = $row['Name'];
  5. }
  6.  
  7. mysqli_query($connect, "UPDATE table SET somecolumn = 'Value' WHERE Name = '$name'");
Add Comment
Please, Sign In to add comment