Re: Help Learning Classes
| From: | Jason Wong | Date: | Tue, 15 Apr 2003 10:35:06 +0000 |
| Subject: | Re: Help Learning Classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143898@lists.php.net to get a copy of this message | ||
On Tuesday 15 April 2003 18:17, Ross Bateman wrote:
> I am trying to get my head around classes. I have the following script that
> when run as a function works great, but I can not get it to function as a
> class.
> I call it:
> include($root_path . "include/oop_page_nav.php");
> $topnav = &New page_navigation;
> $topnav->page_navigation($PHP_SELF, $totalrows, $limit, $page);
>
> This is the script but it generates a lot of errors.......and then seemes
> to give me the nav that I was trying to get.
It would help tremendously if you would state what errors you're getting.
[lots of code snipped]
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Execute every act of thy life as though it were thy last.
-- Marcus Aurelius
*/