Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Strings
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strings

 Post Reply Post Reply
Author
t4p67b96 View Drop Down
Newbie
Newbie


Joined: 10 May 2005
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote t4p67b96 Quote  Post ReplyReply Direct Link To This Post Topic: Strings
    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
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2005 at 1:23pm
<%=request.form("fieldName")%>
Back to Top
t4p67b96 View Drop Down
Newbie
Newbie


Joined: 10 May 2005
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote t4p67b96 Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2005 at 8:52am
I tried this way originally and got no results.
 
Thanks
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
bootcom View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 February 2005
Location: United Kingdom
Status: Offline
Points: 259
Post Options Post Options   Thanks (0) Thanks(0)   Quote bootcom Quote  Post ReplyReply Direct Link To This Post 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 www.w3schools.com/ASP or www.aspfaqs.com or the main site 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.


Edited by bootcom - 16 May 2005 at 2:23pm
Back to Top
t4p67b96 View Drop Down
Newbie
Newbie


Joined: 10 May 2005
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote t4p67b96 Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2005 at 3:59pm
Thanks
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.