Justin,
There's two additional problems in your code here. Maybe they
are just typos if you were entering this by hand, but if you
cut-and-pasted it you are in for trouble in the near future:
(1) You don't actually call one of the mysql functions to
actually retrieve the results of the query.
(2) there's no dollarsign in front of the variable 'questionone'
(3) this logical expression is missing something:
if (questionone == '0' || '1')
What you undoubtely meant to write was:
if ($questionone == '0' || $questionone == '1')