Hi guys its my 1st time here i have spent so many hours actually just to find out how i can do it.
Jquery clone can easily do it for me but the downside is that i can not use it for SEO purpose s.
So i want an alternative by using PHP to copy text inside a tag and echo it anywhere.
<div class="content-to-copy" id="content-to-copy">Copy this text</div>
<div class="content-new-location" class="content-new-location"></div>
I can easily acheive the above by using jquery clone by using the codes below
How can I do it using PHP?