First Thx for your response
I don't think you know wat i mean.
My brother give me a HTML file. I must place a menu from a DB but
Then i must have the folowing code
!--begin_menu--
tr
tdmenu/td
/tr
!--end_menu--
So i must read from !--begin_menu-- till !--end_menu--.
- Original Message -
From: Ben Cairns [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 26, 2001 12:34 PM
Subject: RE: [PHP-DB] Read lines
HTH...
?
$file = "YOUR URL/FILE HERE";
$open = fopen($file, "r");
$search = fread($open, FILE SIZE IN BYTES);
fclose($open);
$news[1] = str_replace("replace this, "with this", $grabbed[1]);
?
?
echo $grabbed[1]
?
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK.."
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]