php code to get data from mysql database code example Example: php + get sql query echo $select->__toString();