2016/8/8 15:27
goffy
Just can't stay away
Posts: 543
Since: 2010/12/27
$sql = 'SELECT * FROM piwik_site;'; $result = $xoopsDB->query($sql); while ($row = mysql_fetch_assoc($result)) { echo "result row:".$row['name']; }
... while ($row = mysqli_fetch_assoc($result)) { ...
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, resource given in...
2016/8/8 16:39
Mamba
Moderator
Posts: 11409
Since: 2004/4/23
$GLOBALS['xoopsDB']->fetchArray
2016/8/8 17:44
global $xoopsDB; ... $result = $xoopsDB->query($sql); ...
... $result = $GLOBALS['xoopsDB']->query($sql); ...
2016/8/8 23:28
$GLOBALS['xoopsDB']
Advanced Search
339 user(s) are online (175 user(s) are browsing Support Forums)
Members: 0
Guests: 339