Lines Matching refs:k

93     foreach ($fields['res'] as $k => $info) {
95 if ($info->name !== $fields['meta'][$k]->name)
97 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
99 if ($info->orgname !== $fields['meta'][$k]->orgname)
101 …$k, gettype($info->orgname), $info->orgname, gettype($fields['meta'][$k]->orgname), $fields['meta'…
103 if ($info->table !== $fields['meta'][$k]->table)
105 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
107 if ($info->orgtable !== $fields['meta'][$k]->orgtable)
109 …$k, gettype($info->orgtable), $info->orgtable, gettype($fields['meta'][$k]->orgtable), $fields['me…
111 if ($info->def !== $fields['meta'][$k]->def)
113 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
115 if ($info->max_length !== $fields['meta'][$k]->max_length)
117 …$k, gettype($info->max_length), $info->max_length, gettype($fields['meta'][$k]->max_length), $fiel…
119 if ($info->length !== $fields['meta'][$k]->length)
121 …$k, gettype($info->length), $info->length, gettype($fields['meta'][$k]->length), $fields['meta'][$
123 if ($info->charsetnr !== $fields['meta'][$k]->charsetnr)
125 …$k, gettype($info->charsetnr), $info->charsetnr, gettype($fields['meta'][$k]->charsetnr), $fields[…
127 if ($info->flags !== $fields['meta'][$k]->flags)
129 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
131 if ($info->type !== $fields['meta'][$k]->type)
133 …$k, gettype($info->type), $info->type, gettype($fields['meta'][$k]->type), $fields['meta'][$k]->ty…
135 if ($info->decimals !== $fields['meta'][$k]->decimals)
137 …$k, getdecimals($info->decimals), $info->decimals, getdecimals($fields['meta'][$k]->decimals), $fi…
140 $tmp = $fields['all_res'][$k]->max_length;
141 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length;
143 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) {
144 … printf("[026 - %d] fetch_fields() seems to have returned different data, dumping\n", $k);
145 var_dump($fields['all_res'][$k]);
146 var_dump($fields['all_meta'][$k]);
148 $fields['all_res'][$k]->max_length = $tmp;