Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] HTML and editing From: G. Wiersma (g.wiersma <email protected>)
Date: 07/14/00

>
> i have a client who wishes to edit his site on-line....so he can change
> things like menu items, hours..contact people...etc......he very little
> HTML if any at all and i was wondering how i'd go about loading a HTML
> file, displaying it WITHOUT the HTML tags so that he can edit it and then
> putting the HTML tags back in when he saves it...the HTML can be colored or
> what not...any way so that he knows that he shouldn't play with that
> stuff.....any ideas?
>
> ~kurth
> Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net

Hi,

On our school we do something similar. My college made a php index.php that
opens a text file and reads the content of the text file. He then uses "tags"
to suscribe an action, something like:
b: Press this button, url where button should point to
t: This is an title example
This is the text below the title
l: this is a link test, this is the url it should link to.

All the html tags will be added during the dynamic load of the index file.
Hope it helps.
Greetings
Gerben

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>