D
D
dk-web2015-10-11 14:44:45
PHP
dk-web, 2015-10-11 14:44:45

Who has seen the most detailed manual on PDO Fetching?

I've met before .... a lot of illustrative examples were on fetchAll, first of all. Various combinations of FETCH_COLUMN and FETCH_GROUP and cannot be found again (I generally accidentally deleted the folder in which I made a selection of such functions...

while($row=$stmt->fetch(PDO::FETCH_ASSOC)) {
       	$this->reg_data['2011'][$row['ident']]=$row;
}

How to do the same using FetchAll, provided that I do SELECT *, and although my pokazatel is unique, it goes in the fifth column ... and FETCH_UNIQUE is missing the first one ..

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question