View Single Post
  #8 (permalink)  
Old Mar 25th, 2008, 10:34
Jack Franklin's Avatar
Jack Franklin Jack Franklin is offline
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,280
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Why is this not working!

implrm you are a genius! As are the others! Turned out I had a typo, so aihazm's suggestion was right. The line now looks like:
PHP: Select all

    $sql mysql_query("SELECT $this->selector FROM $this->table"); 

As I said this is my first time using OOP really so I'll be making some mistakes! Thanks all.
__________________
Resources Administrator


Reply With Quote