Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 17th, 2008, 02:44 AM
Authorized User
Join Date: Dec 2007
Posts: 59
Thanks: 9
Thanked 0 Times in 0 Posts
Default Upload image

Helo everybody
i have very fun to meet you.Have a good day.
I have some problem my database
such as:If i want to submit form that
all the field in my database is saved
My database:
Table name:News
when i submit form and then all the field is save
Please help me to do that or let me to know the page web to do like that.
Thanks so much to your help
Hoang Phuc
(some mistake with the text)

Old January 17th, 2008, 08:48 AM
Friend of Wrox
Join Date: Dec 2006
Posts: 104
Thanks: 9
Thanked 1 Time in 1 Post


One way of achieving this is to use a query string

Example would be on the page you have your form say the page name is

In inputnews.asp you would add

Content = "" 'Clear the Content string
QStr = Request.QueryString("update")

if QStr="success" then
        Content = Content & "<p>News input updated</p>"
Response.Write(Content)     ' Paste the contents in page
Then in your page that inputs the new form data after the update function add

    'Re-direct to inputnews.asp
That should provide the update message in inputnews.asp

Hope this helps


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
how to upload image? vipin k varghese BOOK: XSLT Programmer's Reference, 2nd Edition 3 June 3rd, 2008 02:53 AM
Image Upload spbharti Pro PHP 3 February 3rd, 2006 08:20 AM
Image upload cutesneakers PHP How-To 2 January 5th, 2005 08:00 AM
Image upload Pallav Javascript How-To 8 October 21st, 2004 12:14 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.