missing argument in php function?
<p>Ok no i am calling a few variables from mysql database and they are not static i not that good but if i call a function like</p>

<pre><code>$var = 'hi';

function fun($var){
         $var;
}
</code></pre>

<p>now it will be correct and display the result but if i call multiple variables from mysql database then it will show missing argument or variable not defined why so? I have define the result in more separate variables like </p>

<pre><code>$row_data['value'] = $var;


function fun($var){
         $var;
}
</code></pre>

<p>now can anyone help me?</p>
