php-db | 2001062
Date: 06/29/01
- Next message: Enrico Comini: "[PHP-DB] UPLOAD"
- Previous message: Chris Mason: "RE: [PHP-DB] Which state and country?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I would like to extract a piece from an html file. But
when I try the ereg function like this it ends up
pulling EVERYTHING from the first occurence of "<FONT
face=Verdana>" all the way to the end of the file.
eregi("<FONT face=Verdana>(.*)</FONT>", $string,
$output);
for example: any thoughts on how I could extract
'NAME' from the following and not CITY?
<FONT face=Verdana>NAME</FONT>
<FONT face=Arial>CITY</FONT>
TIA
olinux
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Enrico Comini: "[PHP-DB] UPLOAD"
- Previous message: Chris Mason: "RE: [PHP-DB] Which state and country?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

