QuickBooks/SQL.php
public function query($sql, $look = true)
	{
		if ($this->_driver)
		{
			if ($look)
			{
				$tmp = trim(strtoupper($sql));
				
				if ($this->_startsWith($sql, 'UPDATE '))
				{
					
				}
				else if ($this->_startsWith($sql, 'INSERT INTO '))
				{
					
				}
				else if ($this->_startsWith($sql, 'DELETE FROM '))
				{
					
				}
			}
			
			return $this->_driver->query($sql);
		}
		
		return false;
	}
public function query($sql, $look = true)
	{
		if ($this->_driver)
		{
			if ($look)
			{
				$tmp = trim(strtoupper($sql));
				
				if ($this->_startsWith($sql, 'UPDATE '))
				{
					
				}
				else if ($this->_startsWith($sql, 'INSERT INTO '))
				{
					
				}
				else if ($this->_startsWith($sql, 'DELETE FROM '))
				{
					
				}
			}
			
			return $this->_driver->query($sql);
		}
		
		return false;
	}
Execute an SQL query and return the result resource

@param string $sql		The SQL query to execute
@param boolean $look		Whether or not to examine the query and see if it's an INSERT/UPDATE/DELETE query
@return resource