Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Inserting to SQL Server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedInserting to SQL Server

 Post Reply Post Reply
Author
adrianle View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrianle Quote  Post ReplyReply Direct Link To This Post Topic: Inserting to SQL Server
    Posted: 13 April 2007 at 1:39am
So I need to take the content from the RTE field and insert it into a specific SQL server table/text field. I can't instructions on how to do this on the site. Can someone point me to a tutorial/instructions? Thanks
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2007 at 7:40am
The RTE is menat to be a complet project, it is intended to apply to your already exsisting project that uses standard textareas.

What you need to do is create your application without the RTE using standard textareas and have them save to the SQL Server.

Once you have completed this, then apply the RTE to turn your plain textareas in RTE HTMLareas.

I you don't know how to save to a database have a look on Google as there are lots of articles on this. You can even have a look at the Access tutorials on saving data on this site as it is the same as for SQL Server you just need to change the connection string and database driver.
Back to Top
adrianle View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrianle Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 12:49am
I know how to post form details to my SQL server, no problem. What I don't understand is when you said:

"Once you have completed this, then apply the RTE to turn your plain textareas in RTE HTMLareas." 

Can you tell me how to pass details from the database to RTE, and then how it relates back to the DB?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 8:00am
You apply the RTE to an already existing textarea, in that converts your textarea and data in your textarea into an RTE HTMLarea.

You shouldn't need to change anything about your textarea, you simply place your data into your textarea as before and when the form is submitted the data is handled the same way as before from the same textarea.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.