Hi Guys, Thanks to you both - you are spot on! Shame this is not better documented somewhere. Mark ""Mark Casson"" <confused@xxxxxxxxxxx> wrote in message news:89.4E.33545.C2D30F94@xxxxxxxxxxxxxxx > 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 > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php