Re: Select elements of unknown array type

From: Date: Wed, 28 Jun 2023 08:52:51 +0000
Subject: Re: Select elements of unknown array type
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-328231@lists.php.net to get a copy of this message
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@gmail.com> Nosūtīts: trešdiena, 2023. gada 28. jūnijs 11:47 Kam: php-general <php-general@lists.php.net> 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.

« previous php.general (#328231) next »