Passing page variable to function in PHP
<p>How do I pass variable itself to the function ? here's snippet </p>

<pre><code>$user_name;
$user_id;

function set($variable,$value)
{
   $variable = $value ;
}
</code></pre>

<p>to call set($user_name,'abc');set($user_id,'abc123')</p>

<p>i want to set the value of $user_name,$user_id. </p>

<p>thanks</p>
