/** * This adds the SELECT to the front of the getColumnsViaHashKeysFrom * method's returned value. */ function getSelectViaHashKeysFrom($tablename, $column_key_hash, $whereclause = '') { // get the table information $pntable =& pnDBGetTables(); $query = "SELECT " . getColumnsViaHashKeysFrom($tablename, $column_key_hash, $whereclause); return $query; }
/** * This adds the SELECT to the front of the getColumnsViaHashKeysFrom * method's returned value. */ function getSelectViaHashKeysFrom($tablename, $column_key_hash, $whereclause = '') { global $pntable; $query = "SELECT " . getColumnsViaHashKeysFrom($tablename, $column_key_hash, $whereclause); return $query; }