It seems like I can run only one sql query per page.
$sql_one = "select * from tbl";
$result_one = $DB->get_record_sql($sql_one);
$sql_two = "select * from tbl";
$result_two = $DB->get_record_sql($sql_two);
For some reason, the second one does not work and the page is just blank. How can I fiqure out what is going on?