Write some Software
$10-30 USD
Betales ved levering
Looking for a PHP developer who has had experience manipulating HTML.
We have a requirement to 'find and replace' sections of a HTML document.
So all we need from you is a function which:
- receives a string of HTML
- receives an opening tag (or part of one) that is to be searched for
- receives a string of HTML which is to replace that being sought
function replaceTagContent($sHaystack, $sNeedle,$sReplacementHTML)
The function should:
- find a match for the opening tag which was passed to it within the HTML that was passed to it
- find the closing corresponding tag (allowing for the fact that there could be many nested HTML tags between opening and closing tags)
- replace the entire section between opening and closing tags with the replacement HTML originally passed to the function
- return the new version of $sHaystack with the relevant section replaced
Prosjekt-ID: #11634205
Om prosjektet
10 frilansere byr i gjennomsnitt $32 for denne jobben
Hello, I am ready to help you with the required function in a professional manner. I assure you quality work and support. Please open message board for further discussion. Regards Evina
Hi! Regarding your project, I have an interest in it. I can accomplish everything stated in the description. I would like to specify the details of your project in chat. Looking forward to cooperation!
Work experience with php using the best techniques for your requirement. In one day I can deliver the function you need.