how to change all input field values into upper case
<p>I have set of PHP fields.</p>

<p>Before sending the values into a query, I want to change the letters to upper case.</p>

<p>Is there a way to do something like:</p>

<pre><code>$cust_name   = "john";
$cust_gender = "male";

lower_upper_conversion($_);
</code></pre>

<p>so that now john has changed to JOHN, and male has changed to MALE?</p>

<p>After this function is crossed or passed, all variables need to change into upper case.</p>

<p>I do not want normal solution where I have to call for each field:</p>

<pre><code>$cust_name   = "john";
$cust_gender = "male";

lower_upper_conversion($cust_name);
lower_upper_conversion($cust_gender);
JOHN , MALE, 
</code></pre>
