title: Manually packaging data for CakePHP's save()
body: <p>I'm trying to package up some data for the save() function in cakephp.  I'm new to PHP, so I'm confused about how to actually write the below in code:</p>
  
  <pre><code>Array
  (
      [ModelName] =&gt; Array
          (
              [fieldname1] =&gt; 'value'
              [fieldname2] =&gt; 'value'
          )
  )
  </code></pre>
  
  <p>Thank you!</p>