On Fri, 10 Sep 2004 11:58:58 +0100, in php.general
[EMAIL PROTECTED] (Abdul-Wahid Paterson) wrote:
>> I was wondering if any classes/functions could help me with this little
>> challenge, (im hopeless at regex ;-)
>>
>>
>
>No easy way of doing it, regex somthing like:
>
>$id = preg_replace("/.*/
* and then Abdul-Wahid Paterson declared
> No easy way of doing it, regex somthing like:
>
> $id = preg_replace("/.*/", $1, $string);
>
> where $string is a line from your input'd HTML page
OK, thanks abdul, much appreciated..
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
No easy way of doing it, regex somthing like:
$id = preg_replace("/.*/", $1, $string);
where $string is a line from your input'd HTML page
Abdul-Wahid
On Fri, 10 Sep 2004 12:54:37 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was wondering if any classes/functions could help
Hi all,
I was wondering if any classes/functions could help me with this little
challenge, (im hopeless at regex ;-)
I want to extract the value of 'id' from a webpage. Any simple way to do
this or am I down to sweating of the regex functions?
Much thanks
--
Nick W
--
PHP General Maili
IL PROTECTED]>
Sent: Saturday, July 07, 2001 2:18 PM
Subject: [PHP] Parsing HTML files?
| Is it possible to parse an HTML like at:
| http://hyrum.net/wwbl/HTML/watrost.htm ?
|
| I'd like to be able to grab the player name and ratings and add them to a
| "pretty" HTML output :)
|
|
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 3:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parsing HTML files?
Is it possible to parse an HTML like at:
http://hyrum.net/wwbl/HTML
Is it possible to parse an HTML like at:
http://hyrum.net/wwbl/HTML/watrost.htm ?
I'd like to be able to grab the player name and ratings and add them to a
"pretty" HTML output :)
Jeff
Hello List.
I'm having a little trouble with parsing HTML files and inputting the data
from
the HTML file into a MySQL database. I get the following error when trying
toparse the file.
Warning: file("http://www.server.com/file.htm";) - No error in
d:\webpages\world\lists.php on line 8
The follo
Hello List.
I'm having a little trouble with parsing HTML files and inputting the data
from
the HTML file into a MySQL database. I get the following error when trying
toparse the file.
Warning: file("http://www.server.com/file.htm";) - No error in
d:\webpages\world\lists.php on line 8
The follo
9 matches
Mail list logo