I am creating a content management system (CMS) for my work. It is completely based on CSS, I have written a basic htmlparser witch can alter every atribute of every tag, I have given every tag an unique id, so the parser can reconize it.
You can also add tables and images. Now, when you edit a span tag you can alter the class attribute and the text within. If you post the changes, the parameters are passed to the funtion updatetag(), witch outputs new updated content.
Now this is where the weird part comes:
The changes are visible on the main edit page and appearantly made.., now if i refresh or have a look in the database, the changes aren't saved, sometimes they are, sometimes not! Its driving my crazy :o)
I also have a BIG cache problem that won't go away, but I don't think that is the mean problem..
this is some content generated by the script:
<table id="7"><tr id="8"><td id="9"><span id="10" class="rood">this is some text within a span tag</span></td><td id="11"><span id="12" class="body"></span></td></tr></table><!-- id="1" comment="leave_this_to_have_a_start_id" --="">
Can someone please help me?? I am quite desperate!!
Many thanks in advance!!!!