Results 1 to 4 of 4

Thread: Does Anyone Know How I Can Achieve This?

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635

    Does Anyone Know How I Can Achieve This?

    I want to take a form input box (think search box) and have it so that when someone types in a search term and hits 'search' the page reloads.

    Does that make sense? If so, anyone know the code i would need to achieve this?

    Regards,

    Lee


  2. #2
    virgin by request ;) Chilihost's Avatar
    Join Date
    Oct 2003
    Posts
    4,496
    i think you would just specify the landing page within your input box script as the same page, thus reloading it, but I am not totally sure on that one.


  3. #3
    Any decent man you ever get is gonna find out you're half dyke and RUN. Epic Men's Avatar
    Join Date
    Nov 2007
    Location
    Tampa, FL
    Posts
    38
    Well it depends on if your using php.

    Lets say that you were using php for your main (index.php) page with the form, you would have your code on the same page and do it like this:

    <form name="myform" method="POST" action="index.php">
    <input type="text" name="yourtext" size="50" maxlength="255">
    <input type="submit" name="Submit" value="Submit">
    </form>

    So when the user submits the form, it will come back here automataclly with a reloaded page.

    Check out my example: http://epicmen.com/ttt.php


  4. #4
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Quote Originally Posted by Epic Men View Post
    Well it depends on if your using php.

    Lets say that you were using php for your main (index.php) page with the form, you would have your code on the same page and do it like this:

    <form name="myform" method="POST" action="index.php">
    <input type="text" name="yourtext" size="50" maxlength="255">
    <input type="submit" name="Submit" value="Submit">
    </form>

    So when the user submits the form, it will come back here automataclly with a reloaded page.

    Check out my example: http://epicmen.com/ttt.php
    That is exactly what i wanted it to do thanks so much

    Regards,

    Lee


Posting Permissions

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