I am looking for the PHP equivalent of the Javascript function getElementById() and innerHTML. Basically, how can I edit the content of certain ID’s in the document? Thanks.
I am looking for the PHP equivalent of the Javascript function getElementById() and innerHTML.
Share
You can’t. PHP is sever side and can’t operate on the document after it has been rendered.