Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $title = 'title';
- $link = 'link';
- // query
- $sql = "INSERT INTO article (title,link) VALUES (:title,:link)";
- $q = $conn->prepare($sql);
- $q->execute(array(':title'=>$title,
- ':link'=>$link));
Add Comment
Please, Sign In to add comment