Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Form Variable

  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    264
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Form Variable

    I want to make a form on one page and then carry the input into a param value of a html page. How can I go about doing this? I would use php, but I don't know if the php variable would work in a html page.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I want to make a form on one page and then carry the input into a param value of a html page. How can I go about doing this?
    Your requirement is not clear. Could explain a bit more?

    I would use php, but I don't know if the php variable would work in a html page.
    You could use a rule in your htaccess file, like
    Code:
    AddType application/x-httpd-php .html
    Last edited by abduraooft; 02-14-2009 at 07:52 PM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Posts
    264
    Thanks
    19
    Thanked 0 Times in 0 Posts
    What I mean is I have a html page with a form on it that has a username field. I want to submit the username they enter into another html page.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I want to submit the username they enter into another html page.
    ...means you want to parse your html file like a php file ? If so, my first reply would be enough!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •