php3-list | 2000051
Date: 05/15/00
- Next message: Richard Lynch: "Re: [PHP3] mysql-SUM"
- Previous message: Richard Lynch: "Re: [PHP3] Ye Ol' Undefined variable"
- In reply to: Minh Nguyen Van: "[PHP3] what's wrong with my class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <028101bfbf07$259a2ac0$140910ac <email protected>>,
minhnv <email protected> ("Minh Nguyen Van") wrote:
> ------=_NextPart_000_027E_01BFBF41.D1E3A600
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I have ShoppingCart like this :
> ---------------------------------------------------
> <?php
>
> class ShoppingCart {
> var $conn;
> var $sesionid;
>
> function ShoppingCart($this->conn,$this->sesionid){ //this is the line =
> number 7
The parameters to a function should just be variables:
function ShoppingCart($conn, $sessionid){
-- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "Re: [PHP3] mysql-SUM"
- Previous message: Richard Lynch: "Re: [PHP3] Ye Ol' Undefined variable"
- In reply to: Minh Nguyen Van: "[PHP3] what's wrong with my class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

