RE: [PHP] data from service into array

2002-03-06 Thread Craig Westerman
Is anything hindering you from using XML expat? You can use that to do it. I already post a mail on this, search in the archive for xml related posts. *** This is data from a data service. This is the ENTIRE source code of the URL they let me

Re: [PHP] data from service into array

2002-03-06 Thread Jim Winstead
Craig Westerman [EMAIL PROTECTED] wrote: I'm just now trying to learn PHP. I don't know ANYTHING about XML. I don't even have any XML reference books yet. I did create a PHP script that is usable (see below), but there has to be a more efficient way to do it with PHP. I'll hunt up your post

RE: [PHP] data from service into array

2002-03-06 Thread Craig Westerman
PROTECTED]] Sent: Wednesday, March 06, 2002 4:23 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] data from service into array Craig Westerman [EMAIL PROTECTED] wrote: I'm just now trying to learn PHP. I don't know ANYTHING about XML. I don't even have any XML reference books yet. I did create a PHP script

Re: [PHP] data from service into array

2002-03-06 Thread Jim Winstead
On Wed, Mar 06, 2002 at 06:02:15PM -0600, Craig Westerman wrote: Would you explain what this line does? $out[$m[1]] = $m[2]; it assigns an entry to the output array. $m is populated by preg_match (where it was passed as the third argument) with the entire match in $m[0], the first

[PHP] data from service into array

2002-03-05 Thread Craig Westerman
I'm retrieving data from a data service. This is the ENTIRE source code of the URL they let me receive: symbolRHAT/symbol price6.82/price date3/4/2002/date time3:59pm/time change0.32/change change_percent/change_percent open6.59/open high6.99/high low6.53/low volume932400/volume How can I

Re: [PHP] data from service into array

2002-03-05 Thread S.Murali Krishna
Is anything hindering you from using XML expat? You can use that to do it. I already post a mail on this, search in the archive for xml related posts. On Tue, 5 Mar 2002, Craig Westerman wrote: I'm retrieving data from a data service. This is the ENTIRE source code of the URL they let me