[PHP] Re: Code errors

2002-07-18 Thread Scott Fletcher
Which line in the script you had provided to us is line 247? Chris Crane [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying some code and it works except I get the following errors... Warning: Undefined offset: 5 in

[PHP] Re: Code errors

2002-07-18 Thread Chris Crane
247: list($H_Date, $H_Open, $H_High, $H_Low, $H_Close, $H_Volume) = split(,, $Line); Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Which line in the script you had provided to us is line 247? Chris Crane [EMAIL PROTECTED] wrote in message

Re: [PHP] Re: Code errors

2002-07-18 Thread Marek Kilimajer
My guess is that there is no ',' in $Line, so split returns an array with one variable, so list() warns you parameter No. 1, 2 ,3 4 and 5 are not asigned any value. Chris Crane wrote: 247: list($H_Date, $H_Open, $H_High, $H_Low, $H_Close, $H_Volume) = split(,, $Line); Scott Fletcher [EMAIL