title: Laravel how to check validate unique table two field
body: <p>I have tableA that there are 2 field</p>
  
  <pre><code>1. song_id
  2. playlist_id
  </code></pre>
  
  <p>I want to check laravel validate unique func 
  example: I have inserted data</p>
  
  <pre><code>id =&gt;  1
  song_id =&gt; 2
  playlist_id =&gt; 34
  </code></pre>
  
  <p>then I have to insert data again I want to check that if 
   <code>playlist_id =&gt; 34</code> already inserted <code>song_id = 2</code> show message "already insert" but if <code>playlist_id =&gt; 34</code> insert <code>song_id = 3</code> allow insert </p>
  
  <p>thank you for your help!</p>