884Part VCase StudiesListing 46-2(continued) n ; $count++; (Web hosting top) } $distractor_string

884Part VCase StudiesListing 46-2(continued) n ; $count++; } $distractor_string .= ; $distractor_string .= ; $distractor_string .= ; $distractor_string .= ; return($distractor_string); } private function _previousQuestionString () { if (!$this->_game->getPreviousQuestion()) { $return_string = ; } else { $return_string = $this->_game->previousQuestionCorrect() ? $this->_rightString() : $this->_wrongString(); } return($return_string); } function _rightString () { return(

RIGHT!

); } function _wrongString () { return(

WRONG!

); } private function _highScoreEligible () { // takes a game-ending score, and queries the// DB to see if the player is eligible for the// high score list$query = select name, answer_count, creditfrom high_scoresorder by answer_count desc, credit desclimit 10 ; $connection = $this->_game->getDbConnection(); if ($connection && is_resource($connection)) { $result = mysql_query($query, $connection); $eligible = false;
You want to have a cheap webhost for your apache application, then check apache web hosting services.

Leave a Reply