title: How to concatenate condition array in cakephp
body: <p>To get the DB result in basis of condition</p>
  
  <pre><code>if($keyword!='')
    build condition;
    /*
      array('conditions' =&gt; array("AND" =&gt; array ("esl.esl_artistname LIKE"=&gt;"%".$artistname."%",
      "esl.esl_songname LIKE"=&gt;"%".$songname."%")),
      'limit' =&gt; $arrFind['limit'],
      'page'=&gt;$arrFind['page']));
    */
  
  
  if(!name!='')
    /* 
      array('conditions' =&gt; array("esl.esl_artistname LIKE"=&gt;"%".$artistname."%"),
      'limit' =&gt; $arrFind['limit'],
      'page'=&gt;$arrFind['page'] ))
    */
  
  $this-&gt;find('all',condition);
  </code></pre>
  
  <p>how to do this? how to concatenate both conditions?</p>