Re: [PHP] Bizarre array create error



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.
.