Search found 1 match

by echobeatz
Sun Dec 15, 2002 12:48 pm
Forum: PHP - Code
Topic: Array problems
Replies: 1
Views: 295

Array problems

Hi, I'm having problems using array that I cannot figure out at all, I have a small class, Category , theres two methods(of concern) which are defined as: function add($link, $name) { $this->$pages[$link] = $name; } function hasPage($page_link) { return !empty($this->$pages[$page_link]); } Anyway, I...