Which fossil is this?

Spirifer
Mucrospirifer
Terebratula
Juresania
Digonella
Composita
Pentamerus
Sowerbyella
Platystrophia
Herbertella

When did it live?

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Range, RangeTo FROM fossils WHERE Active <> 0 AND FossilID != 19 AND' at line 1
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/kcupit/spaceman.ca/fossil/display/displayQuiz.php on line 121

Fatal error: Call to a member function fetch_assoc() on boolean in /home/kcupit/spaceman.ca/fossil/display/displayQuiz.php on line 124