Why am I getting this error:
Catchable fatal error: Object of class Card could not be converted to string in /f5/debate/public/Card.php on line 79>
You probably want to use:
$query = "INSERT INTO cards VALUES('$this->type','$this->tag' // etc