ruaduck
Member
I know i can connect to my Database using the following:
However that only grabs one row. How can i do it so that it will fetch multiple rows?
Code:
$db = XenForo_Application::get('db');
$query = $db->fetchRow("SELECT * FROM Event_Feeder ORDER BY id DESC");
$date = $query['date'];
$text = $query['text'];
$color = $query['color']
However that only grabs one row. How can i do it so that it will fetch multiple rows?