June 25, 201016 yr Hi I am no php coder and have a syntax error on line 4 of this, could anyone help, thanks <?php Return (1); function banners($id = 0){ $this$db$db; if ($id) { $this$id; $this; $this$id()fetchAssoc$db; } function getid(){ $this; }
June 25, 201016 yr Hi daydreamer, I'm afraid most of these lines will give a syntax error. It looks to be part of a class definition where the keyword $this is used to reference other elements within the current object and usually takes on the form of $this->id; Can you show us the whole script? Steve
Create an account or sign in to comment