Re: [PHP] Extract data

2001-12-04 Thread Jim
The pipe "|" is a regex special character that allows you to specify multiple options (as in "1|0" will find 1 or 0. Your code will work if you escape the pipe as such... 25: list(q1,q2,q3,q4,q5)= split ("\|", $answer, 5); But, it won't work unless you put the $ in front of your variables in yo

Re: [PHP] extract data from html

2001-06-30 Thread Hugh Bothwell
> > > 1. Open the html file in read only mode > > > 2. Start reading the html file till I encounter a tag (I don't know > > > how to do this) > > > 3. Grab that data after the tag (and then what?) > > > > See and > >

Re: [PHP] extract data from html

2001-06-29 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Adrian D'Costa") wrote: > > > 1. Open the html file in read only mode > > > 2. Start reading the html file till I encounter a tag (I don't know > > > how to do this) > > > 3. Grab that data after the tag (and then what?) > > > > See

Re: [PHP] extract data from html

2001-06-29 Thread Adrian D'Costa
On Thu, 28 Jun 2001, CC Zona wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] ("Adrian D'Costa") wrote: > > > 1. Open the html file in read only mode > > 2. Start reading the html file till I encounter a tag (I don't know > > how to do this) > > 3. Grab that data after the tag

Re: [PHP] extract data from html

2001-06-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Adrian D'Costa") wrote: > 1.Open the html file in read only mode > 2.Start reading the html file till I encounter a tag (I don't know > how to do this) > 3.Grab that data after the tag (and then what?) See