Um.
SELECT = FROM quotes ORDER By rand() LIMIT 1
Try
SELECT * FROM quotes ORDER By rand() LIMIT 1
But better, specify the list of columns. That way, you only get the ones you need so the transfer is more efficient, you know the order in which they will arrive, and your app doesn't crash if the DB design is tweaked.