Re: Select elements of unknown array type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What else would you have expected?

The relevant part of the manual obviously is https://www.php.net/manual/en/function.pg-fetch-assoc.php

Regards,
Janis

No: e-letter <inpost@xxxxxxxxx>
Nosūtīts: trešdiena, 2023. gada 28. jūnijs 11:47
Kam: php-general <php-general@xxxxxxxxxxxxx>
Tēma: Select elements of unknown array type
 

Readers,

A query result using:

"
$databasequery=pg_query($databaseconnection,"SELECT * FROM
postgresqltable WHERE columnname='$phpvariable'");
...
while($databasequery1=pg_fetch_assoc($databasequery)){
        var_dump ($databasequery1);     
        }
...
"

Web browser display:
"
array(13) {["databasecolumnname"]=>string(...)"databasetuple"
...
}
"

Please could someone advise why this output is produced and relevant
part(s) of the manual to read.


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux