... if(mysql_num_rows($this->result) > 0){ if(mysql_data_seek($this->result, 0)){ $this->valid = true; $this->key = 0; $this->currentrow = mysql_fetch_array($this->result); } }else{ $this->valid ... minutes (Paris, November 11–12, 2005), available at www.php.net/~derick/meeting-notes.html. (Accessed April 4, 2006. )OOPHP_02.book Page 96 Friday, May 5, 2006 2:25 PMAdvanced Object-Oriented Programming ... self::ONLY_ONE_INSTANCE_ALLOWED); }}Listing 1 0-4 : Changes to the MySQLConnect constructorCompare Listing 1 0-4 with Listing 1 0-2 . Notice that the calls to the die func-tion have been removed, and an exception...