public function loadResult()
	{
		// Initialise variables
		$return = null;

		// Execute the query
		if (!$this->execute())
		{
			return null;
		}

		// Get the first row from the result set as an array
		if ($row = $this->fetchArray())
		{
			$return = $row[0];
		}

		// Free up system resources and return
		$this->freeResult();

		return $return;
	}
public function loadResult()
	{
		// Initialise variables
		$return = null;

		// Execute the query
		if (!$this->execute())
		{
			return null;
		}

		// Get the first row from the result set as an array
		if ($row = $this->fetchArray())
		{
			$return = $row[0];
		}

		// Free up system resources and return
		$this->freeResult();

		return $return;
	}
public function loadResult ( ) { // Initialise variables $ return = null ; // Execute the query if ( ! $ this -> execute ( ) ) { return null ; } // Get the first row from the result set as an array if ( $ row = $ this -> fetchArray ( ) ) { $ return = $ row [ 0 ] ; } // Free up system resources and return $ this -> freeResult ( ) ; return $ return ; }
Gets the first field of the first row of the result set from the database query

@return  string|null
@since   2.0.0
Gets the first field of the first row of the result set from the database query