$symbols = SymbolsModel::find([['symbol' => 'AAPL']]);
foreach ($symbols as $symbol) echo $symbol->symbol, "\n";
print '<hr>';
$symbols = SymbolsModel::find([['symbol' => 'AAPL']]);
foreach ($symbols as $symbol) echo $symbol->symbol, "\n";
What could be causing the second query from not printing results at all? Its like it only runs the first query and prints fine and it then forgets the rest. It doesnt halt. the entire script finishes. Doesnt matter what the second query is whether its the same or not. Second one just returns an empty array. Been stuck on this for hours and cant figure out whats causing it.