php - How to retrieve a value from the database function in joomla module? -


how retrieve value database function in joomla module?

here code:

$indirect = "select getancestry('".$userid."');"; $db->setquery($indirect);  $getval  = $db->query(); echo "getval" . $getval ."<br>";//process breaks here 


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -