php data retrieval from mysql code example
Example 1: php + get sql query
echo $select->__toString();
Example 2: MySQL SELECT
SELECT select_list
FROM table_name;
echo $select->__toString();
SELECT select_list
FROM table_name;