Print Page | Close Window

Strings

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15070
Printed Date: 30 March 2026 at 3:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Strings
Posted By: t4p67b96
Subject: Strings
Date Posted: 13 May 2005 at 12:44pm
I'm not sure how to call text entered in a form, and call it back from my database onto a view spreadsheet.
This is what I have, but I know I'm not even close.
 
From my form everythiong does go into my database.
 
machineissues = String("Cmachineissues")
issues = String("Cissues")
 
Then I call it up in my table to view.  All my data is shown, but not words.
 
<td colspan="3" rowspan="15" align="left" valign="top">
<%=machineissues%> &nbsp;</td>
<td colspan="6" rowspan="9" valign="top"> <%=issues%> &nbsp;</td>
 
Confused



Replies:
Posted By: Gullanian
Date Posted: 13 May 2005 at 1:23pm
<%=request.form("fieldName")%>


Posted By: t4p67b96
Date Posted: 16 May 2005 at 8:52am
I tried this way originally and got no results.
 
Thanks


Posted By: Gullanian
Date Posted: 16 May 2005 at 2:14pm
Well, thats the way to do it!  Check out some begginer ASP sites if you need clarification, w3schools.com is good.


Posted By: bootcom
Date Posted: 16 May 2005 at 2:21pm
Are you sure you did the <% = request.form("field_name") %> or <% response.write(request.form("field_name")) %>
The = is basically another way of doing a response.write.
 
If you do this: <% request.form("field_name") %> then you're not going to have any results because it's not being called upon to write to the page.
 
OOooh I just thought of something else ... not to sound condecending here but make sure your form points to the right URL, that your using the correct method (get/post) and that your form field has the name attribute with the correct name.
 
I would definately do as suggested and look at a site like http://www.w3schools.com/ASP - www.w3schools.com/ASP  or http://www.aspfaqs.com - www.aspfaqs.com or the main site http://www.4guysfromrolla.com - www.4guysfromrolla.com , they also have a superb messageboard with lots of skilled ASP developers on there always offering advise and help (not dissimilar to this site). Thats how I got started with ASP, those guys helped me out a lot during my first couple of months.


Posted By: t4p67b96
Date Posted: 16 May 2005 at 3:59pm
Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net