how to insert html code with PHP

[email protected] (Rafnews)
Newsgroups php.general
Message-ID <[email protected]>
Hi,

I would like to insert a piece of HTML code inside several pages.
all pages are differently named.

i need in each page to find a particular tag, let's say <div 
id="#submenu">...</div> (so based on its ID and tagname) and inside it 
to insert my PHP/HTML code.

how can i do that ?

thx.

A.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.