| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jan 2005 Location: New Zealand
Posts: 3,747
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Form/PHP can anyone help me with this I need a text box and a submit button, you put in a number in the textbox then it goes to url.ext/structure/auction_detail.asp?id=number can anyone help me with this?
__________________ WowHumor.net - Funny World of Warcraft Pictures |
| |
| | #2 (permalink) |
| Senior Member Join Date: May 2005 Location: I'm right here
Posts: 3,526
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | The title of your thread says PHP..but then link has ASP.. Well this could be something like: <form action="auction_detail.php" method="GET"> <input type="text" name="id" size="10"> <input type="submit" value="submit"> </form> if you click submit, it should take you to auction_detail.php?id=the_id_value_in_text_box Pretty easy?
__________________ WP Theme Developer Your One-stop for Premium Magazine/CMS WordPress Themes Deluxe Themes
Last edited by Designporte; 07-03-2005 at 09:44 PM.
|
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Jan 2005 Location: New Zealand
Posts: 3,747
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | yeah thats great, except the site is not mine.. so would I need to put it like this?; <form action="url.com/yada/auction_detail.asp" method="GET"> <input type="text" name="id" size="10"> <input type="submit" value="submit"> </form>
__________________ WowHumor.net - Funny World of Warcraft Pictures |
| |
| | #4 (permalink) |
| Senior Member Join Date: May 2005 Location: I'm right here
Posts: 3,526
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I never coded in ASP, but I think it will be the same in this case, yea.
__________________ WP Theme Developer Your One-stop for Premium Magazine/CMS WordPress Themes Deluxe Themes |
| |
| | #5 (permalink) |
| NamePros Regular Join Date: Mar 2005 Location: Australia
Posts: 251
![]() | You must always have this: <form action="url.com/yada/auction_detail.asp" method="GET"> Its a form with button for email or anything to send. Action url takes you to send such as login.
__________________ ▌TRIBOLIS.COM : Linux Shared & Reseller Web Hosting Solutions : Since 2004 └ PHP 5 | WHM/cPanel | 24x7 Support Now | Daily Backups! ▌WeLoveCSS.com • XHTML & CSS Forum for everyone! • |
| |
| | #6 (permalink) | ||||
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() |
![]() PHP Code: | ||||
| |
| | THREAD STARTER #7 (permalink) |
| Senior Member Join Date: Jan 2005 Location: New Zealand
Posts: 3,747
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | this seemed to work.. <form action="url.com/yada/auction_detail.asp" method="GET"> <input type="text" name="id" size="10"> <input type="submit" value="submit"> </form> thanks every1
__________________ WowHumor.net - Funny World of Warcraft Pictures |
| |