mysql - How to write IGNORE query in Laravel? -
how write below mysql query in laravel query structure?
$sql = mysql_query("insert ignore feeds(id, pubdate, title, description, link, author, location, feed_name,log_time) values('$id','$pubdate','$title','$description','$link','$author','$feed_region','$feed_name',now())"));
note: must use ignore.
Comments
Post a Comment