Re: Bizarre array create error

From: Date: Tue, 31 Jul 2007 06:54:00 +0000
Subject: Re: Bizarre array create error
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-259873@lists.php.net to get a copy of this message
Paul Novitski wrote:
At 7/29/2007 09:59 PM, Ken Tozier wrote:
        /*------------------------------------------------------*/
        /* Next two lines are where the problem starts                  */
        /* If I comment either of them out the script runs              */
        /* but with both uncommented, it dies
        /*------------------------------------------------------*/
        // create the rect and usable rect records
        $result->rect                   = array(0, 0, $result->page_width, $result- >page_height);
Does this typo exist in your script? "$result- >page_height" with a space between - and >? Regards, Paul I thought the same thing but when I did the copy and paste no spaces where there. I think it's how the email clients display it.


« previous php.general (#259873) next »