RRT
04-14-2012, 10:49 PM
Can someone show me a short example of how to separate individual fields pulled from a line of code such as this:
while ($line = pg_fetch_array($inventoryresult, null, PGSQL_ASSOC)) {
foreach ($line as $col_value) {
echo "$col_value\n";
echo "\t</tr>\n";
}
echo "</table>\n";
I want better control over each specific field than this method dumps out.
Thanks.
while ($line = pg_fetch_array($inventoryresult, null, PGSQL_ASSOC)) {
foreach ($line as $col_value) {
echo "$col_value\n";
echo "\t</tr>\n";
}
echo "</table>\n";
I want better control over each specific field than this method dumps out.
Thanks.