Guest User

Untitled

a guest
Jul 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1.  
  2. $title = 'title';
  3. $link = 'link';
  4.  
  5. // query
  6. $sql = "INSERT INTO article (title,link) VALUES (:title,:link)";
  7. $q = $conn->prepare($sql);
  8. $q->execute(array(':title'=>$title,
  9. ':link'=>$link));
Add Comment
Please, Sign In to add comment