Select elements of unknown array type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: php-general <php-general@xxxxxxxxxxxxx>
- Subject: Select elements of unknown array type
- From: e-letter <inpost@xxxxxxxxx>
- Date: Wed, 28 Jun 2023 09:47:18 +0100
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]