title: Insert unqiue record into one table and the results into a second table
body: <p>Using MySQL and PHP, I have two tables ResponseTable and EntryTable</p>
  
  <p>Response table has </p>
  
  <pre><code> RespID(pk,uq,ai, int), Response(string)
  </code></pre>
  
  <p>Entry table has </p>
  
  <pre><code> EntryID(pk,uq,ai,int), RespID(int), UserID(int)
  </code></pre>
  
  <p>I would like to insert a response into the ResponseTable where the Response doesn't exist, and then insert an entry into the EntryTable based on the RespID from the ResponseTable corresponding to the response.  </p>
  
  <p>How can this be done with the fewest statements?</p>
  
  <p>EDIT:
  Response is unique</p>