Re: postgresql database access failure
| From: | Daniel Brown | Date: | Sat, 30 Apr 2011 16:25:01 +0000 |
| Subject: | Re: postgresql database access failure | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312594@lists.php.net to get a copy of this message | ||
On Sat, Apr 30, 2011 at 12:23, Daniel Brown <danbrown@php.net> wrote:
>>
>> <?php
>> echo '$_SERVER['HTTP_USER_AGENT']';
>> ?>
>
> First of all, no it doesn't. Placed inside single quotes, it'll
> not only try to return it verbatim (i.e. - the variable would be
> printed to screen), but it'll also cause a parse error, as you reuse
> single quotes in the variable key container.
Forgot the "second of all" before hitting send.
Second of all, what does this have to do with your PostgreSQL
problem? Did I miss something?
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/