public function printAllTableIdFlds($tbl, $flds = [])
    {
        $ret = '';
        $arr = $this->getAllTableIdFlds($tbl, $flds);
        if (sizeof($arr) > 0) {
            foreach ($arr as $i => $row) {
                $ret .= ' (( ';
                if (sizeof($row) > 0) {
                    foreach ($row as $fld => $val) {
                        $ret .= (($fld != 'id') ? ' , ' : '') . $fld . ' : ' . $val;
                    }
                }
                $ret .= ' )) ';
            }
        }
        return $ret;
    }
public function printAllTableIdFlds($tbl, $flds = [])
    {
        $ret = '';
        $arr = $this->getAllTableIdFlds($tbl, $flds);
        if (sizeof($arr) > 0) {
            foreach ($arr as $i => $row) {
                $ret .= ' (( ';
                if (sizeof($row) > 0) {
                    foreach ($row as $fld => $val) {
                        $ret .= (($fld != 'id') ? ' , ' : '') . $fld . ' : ' . $val;
                    }
                }
                $ret .= ' )) ';
            }
        }
        return $ret;
    }
public function printAllTableIdFlds ( $ tbl , $ flds = [ ] ) { $ ret = '' ; $ arr = $ this -> getAllTableIdFlds ( $ tbl , $ flds ) ; if ( sizeof ( $ arr ) > 0 ) { foreach ( $ arr as $ i => $ row ) { $ ret .= ' (( ' ; if ( sizeof ( $ row ) > 0 ) { foreach ( $ row as $ fld => $ val ) { $ ret .= ( ( $ fld != 'id' ) ? ' , ' : '' ) . $ fld . ' : ' . $ val ; } } $ ret .= ' )) ' ; } } return $ ret ; }
For debugging purposes
For debugging purposes