title: Difference between exec and execute in php
body: <p>I'm learning php but in the tutorial I use, I can see something like these lines :</p>
  
  <pre><code>$DatabaseAdd-&gt;exec('INSERT INTO db_name......
  </code></pre>
  
  <p>and this one :</p>
  
  <pre><code>$request-&gt;execute(array(.....
  </code></pre>
  
  <p>Is there any difference between exec and execute? Can we use one to replace the other?</p>