Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Create an Impressive Content Editing System with jQuery and PHP
Mar 10, 2010 @ 11:22:40

On Webitech.net there's a new tutorial showing how to combine PHP and jQuery to create a simple content editing system when you don't need a full-blown CMS to manage the pages of your site.

I'm going to show you how to use jQuery and PHP to build a content editing system that will allow you or your client to easily edit .html pages visually. [...] Our file structure is going to be really simple – just admin.php, the wymeditor package and jquery together in the demo directory.

The tool uses PHP's file_get_contents to pull in the source of the page into a textarea and edit it with jQuery and the WYM Editor. Full code is included for your cut and paste pleasure but if you need a quicker fix, you can download the source. There's also a demo to see it in action.

tagged: jquery content edit tutorial