On my website I want to make the contents to be editable like they are on wikipedia.org. I imagine there's about a thousand different ways to accomplish this. I am going to use FCKeditor for user editing of the page contents.
There will be two parts -
1. the actual page in HTML
2. the page showing the text editor with the HTML page contents in it.
The visitor will arrive at the HTML page on my site then press an edit button on the page if they want to change something. FCKeditor will display whatever text I want, so I want to pass in the contents of the html page to the editor. So the problem is this: How do I easily send all my relevant page contents to the PHP page for editing? I was thinking of just assigning all the page contents to a variable and then just sending that variable to the PHP page. But I'm not sure yet if I can do that or if it's the best way to go about it.
Any suggestions?
There will be two parts -
1. the actual page in HTML
2. the page showing the text editor with the HTML page contents in it.
The visitor will arrive at the HTML page on my site then press an edit button on the page if they want to change something. FCKeditor will display whatever text I want, so I want to pass in the contents of the html page to the editor. So the problem is this: How do I easily send all my relevant page contents to the PHP page for editing? I was thinking of just assigning all the page contents to a variable and then just sending that variable to the PHP page. But I'm not sure yet if I can do that or if it's the best way to go about it.
Any suggestions?