Re: Re: PHP and table/view names with '$'
| From: | Rasmus Lerdorf | Date: | Thu, 23 Apr 2009 18:21:40 +0000 |
| Subject: | Re: Re: PHP and table/view names with '$' | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46144@lists.php.net to get a copy of this message | ||
This is well-documented in the String part of the Data Types section:
http://www.php.net/manual/en/language.types.string.php
-Rasmus
Mark Casson wrote:
> Hi Guys,
>
> Thanks to you both - you are spot on!
>
> Shame this is not better documented somewhere.
>
> Mark
>
> ""Mark Casson"" <confused@icube.co.uk> wrote in message
> news:89.4E.33545.C2D30F94@pb1.pair.com...
>> Hi,
>>
>> I am trying to access some of the v$ views using php on iis, with admin
>> privileges.
>>
>> However, using:
>>
>> $stmt = OCIParse($conn, "SELECT * FROM v$sql");
>>
>> gives me this error:
>>
>> PHP Notice: undefined variable: sql . . .
>>
>> Is there a way around this?
>>
>> Thanks
>>
>> Mark
>>
>
>
>