Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

updates by non techie

Status
Not open for further replies.

maxelcat

Technical User
Oct 19, 2006
79
Hi

I am designing a site for a church that wants to put its weekly notice sheet on the site.

I suppose they could covert to a pdf and I could overwrite the same file every week on their server but that sounds risky to me.

I have seen sites where using a password users can update pages themselves without knowing any xhtml etc? I have no idea how this is achieved - is it a package that they buy, or can it be quite easily coded?

Not looking for long answers here, but some general pointers as to what this process is called and where to find out about it would be very greatefully received.

thanks as ever

Edward
 
HI

Been following the advice here closely

Reached the stage where the new content can be placed into the database - using php and mysql.

I have then used queries to get the data back.

Feel a bit smug now!!!

The issue now is that the user will be cutting and pasting from a word document. He wont be using tables and the like, but tabs, bold underline - that sort of stuff.

I have one of his docuemnts and have tried to use it. The data comes back from the query fine, but its lost its formatting, I get new lines but nothing lines up - its all very confusing. I kind of expected this though, so its no big surprise.

I remembered that some folk on here had suggested using the SPAW editor, and said how easy it was to use..... I have downloaded it and read some of the help files. I could hear them flying gracefully over my head.

Before I make more coffee and set of to really study them perhaps someone could kindly tell me if they will meet my prupose! Will using it enable me to retain the formatting that the client (I use that term very loosely...) will use - thereby ensuing that it really is just a question of cutting and pasting? WIll the queries then return more formatted data?

Thanks as ever

Edward
 
The storing of preformatted text will happen as will the retrieving, but where your concern lies is actually nothing to do with php.

Your concern with tabbing etc will ultimately be rendered by the browser. What you can try is wrap the output of the database query with <pre></pre> tags - except I'm not sure if it will listen to any other styling within it. Don't really use <pre>.

Try giving that a shot though. I know it will keep the consistancy of the tabs and line breaks without a problem but any styling (fonts, colors, bold, links etc might not).

NATE


Got a question? Search G O O G L E first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top