RES: php x netscape
| From: | Carlos Henrique | Date: | Thu, 29 Jun 2000 13:43:43 +0000 |
| Subject: | RES: php x netscape | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3797@lists.php.net to get a copy of this message | ||
I need to use a class and I have more functions in the class. But I've
tried using a separate function and not a method of a class and didnt work!
Carlos
-----Mensagem original-----
De: Ted Knudson [mailto:tedk@cyberlink.com]
Enviada em: quinta-feira, 29 de junho de 2000 01:01
Para: Carlos Henrique
Assunto: RE: php x netscape
> In the class:
> function table (...) {
> $ret = "<table>...</table>";
> return ($ret);
> }
>
> In the page:
> echo $obj->table();
Try table();
Unless you have more code you have a function not a class.