CuriouslyOdd
New member
I want to know how I can get the contents of any, for example, div tag with a specific class.
So I have
<div id="whatever" class="editable">I want to extract this information, then replace with with a PHP function</div>
How do I parse the PHP to store the information within the div, then replace it with a PHP function without losing the div, so it becomes:
<div id="whatever" class="editable"><?php echo getByDiv("whatever"); ?></div>
So I have
<div id="whatever" class="editable">I want to extract this information, then replace with with a PHP function</div>
How do I parse the PHP to store the information within the div, then replace it with a PHP function without losing the div, so it becomes:
<div id="whatever" class="editable"><?php echo getByDiv("whatever"); ?></div>