Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $result = mysqli_query($connect, "SELECT Name FROM table");
- while($row = mysqli_fetch_assoc($result)) {
- $name = $row['Name'];
- }
- mysqli_query($connect, "UPDATE table SET somecolumn = 'Value' WHERE Name = '$name'");
Add Comment
Please, Sign In to add comment