3
I replaced this line:
$results = 'SELECT account FROM ' . $xoopsDB->prefix('wmfx_popsettings') . ' WHERE id = '1'';
With your code:
$results = $xoopsDB->query('
SELECT account
FROM ' . $xoopsDB->prefix('wmfx_popsettings') . '
WHERE id = '1'
');
Now when I do an echo to see $results, I'm getting this:
Resource id #69
Is this correct or am I doing something wrong?