[realtime page editing...] -



realtime page editing...

Discuss realtime page editing...



Posted by: darwinsape

i'm currently maintaining a few websites, and due to my schedule, i never have time to update one as often as i'd like. I'm looking for a way to do some realtime editing, that way i dont have to be the one who does it. the other people i can get to do it are afraid of opening an HTML document, and i'm looking for a way for them to open one page, and be able to edit a table on another page. they need to be able to add/delete columns, and change information already in there. the pages are all in php, and although the hosts are rather incompetent when it comes to installing, i assume that MySQL is also enabled. I'm obviously thinking of working it out with PHP and MySQL but i've only been messing with PHP and MySQL for a little while now, and do not completely know what the commands i would use would be, and pre-made scripts would work, but because it is for a non-profit organization i do not want advertisements/names of the people who made the script on the page.
Any suggestions are welcome, i've also been told about webdav, but that still sounds like they would need to edit HTML.
~Ben



Posted by: Emily

Put each page in a separate text file with just text and very basic HTML tags (like >p> or whatever you need. A sample page would look like this:

< P>This is some content< /P>

Save it as page1.txt. Then on your home page, when you want to link to the content in page1.txt, make the href="?page=page1":

< a href="?page=page1>Page 1< /a>

Then in the spot where you want the content to show up, put:

< ?php
if ($page) {
include("$page");
}
? >;

This is a very stupid way to explain this, but it's very useful. (Actually I'm not entirely show this is even the kind of thing you wanted.) Let me know if you want me to explain it more/better. :)

P.S. You're going to want to omit all the spaces from the tags all. ;)



Posted by: mitch

You can use macromedia contribute for this very difficult work.It was design for work load sharing. you can get it at their site. [url]www.macromedia.com[/url]