Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how can i place the data into database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedhow can i place the data into database

 Post Reply Post Reply
Author
mmmmm View Drop Down
Newbie
Newbie


Joined: 09 February 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmmmm Quote  Post ReplyReply Direct Link To This Post Topic: how can i place the data into database
    Posted: 09 February 2007 at 12:19pm
hi all

i have downloaded web wiz rich text editor (http://www.webwiz.net/asp/sample_scripts/RTE_application.asp) for my project by i couldn't place the data into database...

this option is modfying in display_form_submission.asp file....

Quote 'Read in the data posted from the editor
strEditorContent = Request.Form("myTextarea")



'*******************************************************************
'***     Start - What can I do with the data from the editor???     ****
'*******************************************************************


'In this eample we are just displaying the data in a web page, but you could enter it into a database

'You could place the data from the editor in the variable strEditorContent into a database here

'To findout how to save data to an MS Access database please see:-
'     Connecting to an Access database - http://www.webwiz.net/asp/tutorials/connecting_to_a_database.asp
'     Saving data to an Access database - http://www.webwiz.net/asp/tutorials/add_to_database.asp


'*******************************************************************
'***     End - What can I do with the data from the editor???     ****


how can i do it please help me ?
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: 09 February 2007 at 12:43pm
You need to write your project first just using a normal textarea and do whatever you need with the submitted data yourself.

Then you simply apply the RTE to your projects textarea that you have already built.
Back to Top
mmmmm View Drop Down
Newbie
Newbie


Joined: 09 February 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmmmm Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 1:11pm
when i write this codes i get internal server error


'Read in the data posted from the editor
strEditorContent = Request.Form("myTextarea")

'*******************************************************************
'***     Start - What can I do with the data from the editor???     ****
'*******************************************************************

set kaydet =server.createobject("adodb.recordset")
sql = "select * from deneme"
kaydet.open sql,syk54,1,3

kaydet.addnew

kaydet ("myTextarea") = strEditorContent
kaydet.update

kaydet.close
set kaydet = Nothing
syk54.close
set syk54 = Nothing


'*******************************************************************
'***     End - What can I do with the data from the editor???     ****
'*******************************************************************
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: 09 February 2007 at 2:52pm
Please see my last post and if you also follow the install instructions you will find that this file is meant to be deleted as it is only their for a demo.
Back to Top
mmmmm View Drop Down
Newbie
Newbie


Joined: 09 February 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmmmm Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 5:46pm
ok boss i understood :)

thanx
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.