Re: [PHP-DB] Re: PHP and table/view names with '$'

[email protected] (Rasmus Lerdorf)
Newsgroups php.db
Message-ID <[email protected]>
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"" <[email protected]> wrote in message 
> news:[email protected]...
>> 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
>>
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.