PHP Script, Find and Replace
$10-30 USD
Paid on delivery
I need a PHP function that will find all heading tags in and give them a unique id.
For example:
<h1>Some Heading</h1> BECOMES <h1 id="item1">Some Heading</h1>
<h3 class="big">Another Heading</h3> BECOMES <h3 class="big" id="item2">Another Two</h3>
I need it to work for all headings levels, regardless of any attributes they already have (class, styles, etc).
Do not use deprecated code. Create your own sample content.
Thanks
Project ID: #12306976
About the project
Awarded to:
Greetings! I am a highly skilled PHP programmer and can do this task within minutes. Ready to start right away!
3 freelancers are bidding on average $27 for this job
I can create my own code to replace the header tags with custom class. I will complete this work in a day. Looking for your reply to start this work immediately. I will be available online from 2 am GMT to 5 pm GMT More