Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-21 Thread Scott Fletcher
Yea, plan to file a bug to include an example. As soon as the strpos() script work then I'll go ahead. Right now, mine doesn't work correctly with the 3rd and 4th line of code, so I'm trying to figure out why. :-) Scott "Mike Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

RE: [PHP] Is there a way to use the strpos() for next string...

2003-11-21 Thread Ford, Mike [LSS]
On 20 November 2003 20:39, Scott Fletcher wrote: > Yea, the manual is clear but honestly, don't know what the offset > really meant since there is no definition or explaination of how the > offset work. Well, I really don't know how much clearer the sentence that says "The optional offset parame

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Kelly Hallman
On Thu, 20 Nov 2003, Scott Fletcher wrote: > > Anyway, don't do that, use an existing XML parser.. > > I'll try. I haven't got the PHP XML Parser to work, I think it is > because the XML stuffs I receive is not a true XML, some of them don't > have a closing tag either because one tag have actual

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
I'll try. I haven't got the PHP XML Parser to work, I think it is because the XML stuffs I receive is not a true XML, some of them don't have a closing tag either because one tag have actual data as an attribute inside one tag. It is kind of frustrating to on not knowing what XML Parser will work

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
Yea, the manual is clear but honestly, don't know what the offset really meant since there is no definition or explaination of how the offset work. All I know the definition of the offset is 'To balance each other out'. Like a weighting scale where one weight is more than other and I would need to

RE: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Ford, Mike [LSS]
On 20 November 2003 17:39, Scott Fletcher wrote: > How exactly does the 3rd parameter option work. I tried this > but it doesn't > work, so I don't know how exactly does it work... There isn't detail > information on the php.net website... > > --snip-- >$XML_Start = (strpos($res_str,"",1);

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Kelly Hallman
On Thu, 20 Nov 2003, Scott Fletcher wrote: > How exactly does the 3rd parameter option work. I tried this but it > doesn't work, so I don't know how exactly does it work... There isn't > detail information on the php.net website... "The optional offset parameter allows you to specify which chara

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
How exactly does the 3rd parameter option work. I tried this but it doesn't work, so I don't know how exactly does it work... There isn't detail information on the php.net website... --snip-- $XML_Start = (strpos($res_str,"",1); $XML_End = strpos($res_str,"]]>",2); --snip-- Scott "Mike F

RE: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Ford, Mike [LSS]
On 20 November 2003 14:53, Scott Fletcher wrote: > Hi Everyone! > > Is there a way to get the strpos() to find the next needle in > the haystack instead of just the 1st one only? (Where the 1st > needle is the same string as the next needle)... Look at the optional 3rd parameter to strpos()

[PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
Hi Everyone! Is there a way to get the strpos() to find the next needle in the haystack instead of just the 1st one only? (Where the 1st needle is the same string as the next needle)... Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n