Guest User

Untitled

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