Tuesday, 1 April 2014

array php retrive value

i have finished a way Joomla controlling php and mysql, one duty mislay
justly a user on line, afterwards pass a outcome to another function, that
mislay an array.these are a classsetQuery($query);$result =
$db->loadResult();return $result;}public stationary duty tre(){$risultato
= modUno::due();$db = JFactory::getDBO();$query = "SELECT avatar, cb_skipe
FROM #__comprofiler WHERE id = '{$risultato}';
";$db->setQuery($query);$result = array($db->loadResult());return $result;
} }?>Then i collect a value with these modulehow i can collect a value of
a array (two value) and distribute to $foto and $ skipe ?

No comments:

Post a Comment