PC Review


Reply
Thread Tools Rate Thread

Display visitors input to another page

 
 
bighead
Guest
Posts: n/a
 
      15th Jan 2004

Hi Everyone,

I am new in webdesign. I would like to know how to make the visitor
input to be displayed from another page: For example, there are 1
visitors inputed something throuh a form which connected to a MS SQ
database, alone with a picture. The form has a subject field, an
some other fields. After the visitors click Submitt botton,
hyperlinked with the Subject field should be displayed into anothe
page. All the hyperlinked Subject fileds (input by the ten visitors
should be appear in the same page. After that, when the visitor clic
one of the hyperlinked Subject fields, the entire fields and th
picture of that input should be displayed.

Great thanks in advance.

Bighea

bighea
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message33037.htm

 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      15th Jan 2004
>-----Original Message-----
>
>Hi Everyone,


Howdy.

>I am new in webdesign. I would like to know how to make
>the visitors input to be displayed from another page:
>For example, there are 10 visitors inputed something
>throuh a form which connected to a MS SQL database,
>alone with a picture. The form has a subject field,
>and some other fields.


FrontPage has built-in facilities to create database
records from HTML form submissions, and to store files
uploaded with an HTML form. Unfortunately, it can't do
both from the same form. So, you need to either:

o Use two forms, such as one to upload the picture
and a second to describe it.
o Custom program the page in ASP, ASP.NET, or some other
environment.

In all cases, you should plan on saving the picture as a
file, and storing only the picture file name in the
database.

>After the visitors click Submitt botton, A hyperlinked
>with the Subject field should be displayed into another
>page.


The FrontPage Database Results Wizard can do this, or you
can program it in something ASP or ASP.NET.

To display the picture, either the database query or some
custom programming code needs to construct an <img> tag
that points to the picture file name in the database.

>All the hyperlinked Subject fileds (input by the ten
>visitors) should be appear in the same page.


I presume this is a different page. In any event, either
the database query or some custom programming code will
need to construct anchor tags such as:

<a href="detail.asp?photo=moneypit.jpg">Our New Home</a>

where the fiename moneypit.jpg and the Subject text Our
New Home come from the database record.

>After that, when the visitor click one of the hyperlinked
>Subject fields, the entire fields and the picture of that
>input should be displayed.


You would have to arrange for the detail.asp page
(mentioned in the preceding URL) to run a query using the
photo= value as a criteria.

Again, either the database query or some custom
programming code will need to construct an <img> tag that
displays the photo named in the database record.

I hope this is enough to get you started. Given the
breadth of your question, a detail answer is really beyond
the scope of a newsgroup posting.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
preventing site visitors from resizing a page in front page 2002 gavyhanna Microsoft Frontpage 3 22nd Jan 2009 08:09 AM
How to make a web page display the visitors IP address... =?Utf-8?B?TGVvbmFyZCBXLiBQZWFjb2Nr?= Microsoft Frontpage 4 6th Jun 2006 11:32 AM
Can't get input mask value to display on dataview page =?Utf-8?B?Um9iZXJ0Sw==?= Microsoft Access 2 11th Nov 2005 03:53 PM
Possible To Log Visitors To A Page? Dick Microsoft Frontpage 2 9th Nov 2005 01:25 PM
Display form input on a page Anonymous Chief Microsoft Frontpage 11 21st Aug 2005 08:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:16 AM.