Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

simple asp problem

  • 17-10-2003 12:10pm
    #1
    Registered Users, Registered Users 2 Posts: 446 ✭✭


    I'm trying to do my asp assignment, which we have yet to be taught any programming.

    Anyway, I managed to get a few tutorials online and got something up.
    My problem is:

    I have a html page with a form on it (no asp at all)

    and an asp page...which is the one that will print out the data, I assume I need a( #include page1.html )t hing but this doesnt work, maybe I have the syntax wrong?


Comments

  • Registered Users, Registered Users 2 Posts: 3,889 ✭✭✭cgarvey


    I have no idea what you're getting at with the include thing, but if you just want to print out the values entered, use the following example...

    test.html
    <html>
    ..
    <form method="post" action="test.asp">
    Name: <input type="text" name="username">
    </form>
    ..
    </html>
    

    test.asp
    <%@LANGUAGE="JAVASCRIPT"%>
    <htmL>
    ...
    <%
      Response.write( "Entered username was: " + Request( "username" ) + "<br>" );
    %>
    ...
    


Advertisement