display all records from database in html using php code example Example: php + get sql query echo $select->__toString();