Page 1 of 1

Php edit webpage code?

Posted: Wed Feb 11, 2009 11:38 am
by tomsace
Hi,

I have been trying to add a feature into the admin section of my site so I can edit a webpage through my site.
I want it to be like this....
When I first open the page for it to just show the text on the site but to have an edit button below it.
When I click edit I can then edit the text then with a save button below it.
When I save it, it goes back to stage 1 when I can just view the text of the page.

Is this possible? Any help will be much apprechiated.

Thanks,
Tom.

Re: Php edit webpage code?

Posted: Wed Feb 11, 2009 11:44 am
by mbdigital
That's a pretty standard way of doing things, have you through of looking at some pre-prepared frameworks? I.e. Joomla / Drupal etc
If you wish to create something from scratch there are a number of good tutorials on google for this..

Re: Php edit webpage code?

Posted: Wed Feb 11, 2009 4:40 pm
by tomsace
Hi,
Yes I have looked at joomla but I will get no satisfaction from installing pre-made scripts and I learn nothing from it.
I have tried looking at google but I don't know what to search for the correct results!?
Any ideas? Or do you know a website with these tutorials?

Tom.

Re: Php edit webpage code?

Posted: Wed Feb 11, 2009 4:51 pm
by mbdigital
Hi,

It's been a while since I've look for tutorials on this but I've heard this is a good starting point:
http://www.freewebmasterhelp.com/tutorials/phpmysql/1

Let me know if that helps.

Re: Php edit webpage code?

Posted: Wed Feb 11, 2009 4:55 pm
by tomsace
Hey,

Thanks for the site but it isnt very good??

I click a category, for example php or cookies but I keep getting the same webpage whatever link I click!?

Re: Php edit webpage code?

Posted: Thu Feb 12, 2009 1:34 am
by mbdigital
My Apologies, something must have happened there since my firend used it.
You could also try this: http://dev.mysql.com/tech-resources/art ... index.html