select data from a table in php mysql code example
Example 1: how select from db
SELECT columname FROM tablename
Example 2: php + get sql query
echo $select->__toString();
SELECT columname FROM tablename
echo $select->__toString();