rene.brodmuehler@gmail.com
Member
Dear All
I have the following code:
$myEmail = '';
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('email')->from('anmeldung');
$db->setQuery($query);
$myEmail = $db->loadResult();
return $myEmail;
How can I check what actually is returned in $myEmail? Is there a way to use the ECHO command and show this in the browser? Or any other way?
Thanks and best
René
I have the following code:
$myEmail = '';
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('email')->from('anmeldung');
$db->setQuery($query);
$myEmail = $db->loadResult();
return $myEmail;
How can I check what actually is returned in $myEmail? Is there a way to use the ECHO command and show this in the browser? Or any other way?
Thanks and best
René