Guest User

Untitled

a guest
Jan 18th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.  
  3. if (!$res = mysql_query($sql, $con)) {
  4.     die("SQL Error: " . mysql_error());
  5. } else {
  6.     echo "Successfully updated " . mysql_affected_rows($res) . " rows of data.");
  7. }
Add Comment
Please, Sign In to add comment