how to pass data from json to a php function? <pre><code>[registration] =&gt; Array ( [first_name] =&gt; test [location] =&gt; Array ( [name] =&gt; Santa Ana [id] =&gt; 1.08081209215E+14 ) [gender] =&gt; female [password] =&gt; 123654789 ) </code></pre> <p>and i need to insert that data into a database by using:</p> <pre><code>$carray = fns_create_talent($login, $pass, $gender, $name); </code></pre> <p>any idea on how to get them from a place to another?</p> <p>i was thinking that i need to assign the array values to the post vars. maybe:</p> <pre><code>$login = registration.first_name... </code></pre> <p>any ideas? thanks</p>