Menu
I’m trying to compare an array value within a function. The problem is, the array is outside the function and it doesn’t recognize the value. I think I can put $_server or $
<?php
$doQuery = mysql_query(“SELECT data FROM usersettings WHERE user = ‘$friendID1′”)
or die(mysql_error());
$colors=mysql_fetch_array($doQuery);
[COLOR=”Red”]$colors
<?php
function Fetcher3()
{
echo [COLOR=”Red”]$colors
}
Fetcher3();
?>