so basically just what the title says, I'm doing code in Laravel that inserts to a table in the database, but i am getting a 500 error.
public function insert_prospect_to_database(){
DB::insert('insert into recruiters (name) values (?)', array('james'));
}
I can't figure out if the query is wrong or not, and the docs haven't much been of a help as well, thanks in advanced!