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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP to submit a html code? 1

Status
Not open for further replies.

PS1983

Technical User
Nov 6, 2001
83
AT
hi there!
my question is...
i've seen this site where is a wysiwyg editor in a html site, well the script is ready download and have a look at it so the only thing i need is to be able to submit the code to a html site.
i mean:

somebody uses the editor to write and format a text, he finishes and wants to put it in an extra frame on some site just by pressing the submit button....
hmm hard for me to explain =)
lets take an example

this is my mainframe, on the left side is an extra frame where the submitted text should be.
left side text, right side picture

this is possible with php but the server doesn't support php so i wondered if its possible with ASP
any help is really appreciated

thanks!
best regards
steve
 
I think I know what you mean. You want an on line HTML editor in ASP, right? Well it is possable. All the code for your site pages needs to be stored in a DB. When a person wants to view a page just call the code from the DB. On a site I made I used one page and ref number in the query string. The page then loaded the code from the database using a the ref number.

As for editing the code that is stored in the database you will need a form with a text box. This text box should load the code as its initial value from the DB (depending on what page you want to edit). The form also needs to be able save the code back to the database. If you have never worked with asp and databases then look at the samples on .

I hope this helped
Andrew
 
ok gonna have a look at it
thanks for the reply
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top