Hello all
I have never posted before and bit of a noob
I have a problem i hope someone can help with...
I have a wysiwig editor (nicedit) attached to a page which gets called
and allows the user to edit portions of the page in a modal window.
This changed content then gets serialized, with the ID of the div and posted to the server. I want to be able to update the html of the div in question on the page using PHP. This content is not in a database but on the page itself. What i would like is some direction?
Regex solutions all seem to point to the problem that if the div in question has nested divs the regex will take the first closing tag.
PHP dom parser looks to be the right solution but i have had trouble
getting it to work.
Any advice would be greatly appreciated
Cheers
Davros