Guest User

Untitled

a guest
May 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. $sth = $db->prepare('UPDATE widgets SET xpos = :xpos WHERE id = 1 );"."UPDATE widgets SET ypos = :ypos WHERE id = 1');
  2.  
  3. $sth->execute('xpos' => $x_pos, 'ypos' => $ypos);
Add Comment
Please, Sign In to add comment