Re: PHP+ postgresql help?
| From: | speedboy | Date: | Tue, 21 Aug 2001 03:48:54 +0000 |
| Subject: | Re: PHP+ postgresql help? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11582@lists.php.net to get a copy of this message | ||
> print_r? Am I about to learn something new? Be still, my beating heart!
print_r will print the array $row which is one of the rows returned by
running your query. You can then see all the values in the array.
Just run it, you will see what it does.
Or alternatively echo just one field from the returned row (array):
echo "$row[0]<br>";
echo "$row[id]<br>";