Hi all..
I've got a search page written for my web site. I can find the html page I
want by keyword. Now I need to get the title of that page in to a variable.
In other words I have a file name, for example Summerbulletin.html. I now
need to get the line title Summer 2003 /title in to a
* Thus wrote James Hatridge ([EMAIL PROTECTED]):
Hi all..
I've got a search page written for my web site. I can find the html page I
want by keyword. Now I need to get the title of that page in to a variable.
In other words I have a file name, for example Summerbulletin.html. I now
need
From: Curt Zirzow [EMAIL PROTECTED]
* Thus wrote James Hatridge ([EMAIL PROTECTED]):
I've got a search page written for my web site. I can find the html page
I
want by keyword. Now I need to get the title of that page in to a
variable.
In other words I have a file name, for example
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]):
From: Curt Zirzow [EMAIL PROTECTED]
* Thus wrote James Hatridge ([EMAIL PROTECTED]):
preg_match('#\title\(.*)\/title\#im', $text, $matches):
I don't think you have to escape the and characters, do you? Also,
what's the 'm' modifier
Hello,
I'm wondering what you all think the best way to search for a string is.
I guess its more of a matching (regex I'm thinking) but basically what I
want is this..
I'm outputting some rows of data. If one of the columns of that row
contain a string of text, either beginning, end, or middle,
I'm wondering what you all think the best way to search for a string is.
I guess its more of a matching (regex I'm thinking) but basically what I
want is this..
You could try any number of PHP functions, but the best ones would be
strchr/strstr/stristr (for locating the first occurrence of the
On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote:
|You could try any number of PHP functions, but the best ones would be
|strchr/strstr/stristr (for locating the first occurrence of the string),
|strpos (find the position of the first occurrence), or strrchr (to find the
|last).
|
I was just using
7 matches
Mail list logo