コード例 #1
0
/**
 * 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;
}
コード例 #2
0
/**
 * 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;
}