Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to put info enetered into a form on one page onto another
Old 09-27-2010, 11:33 AM How to put info enetered into a form on one page onto another
heat33's Avatar
Skilled Talker

Posts: 82
Name: Don
Trades: 0
Hi,
I have not done this in ages and I think I am having a brain explosion.

I made a form on 1 page where they ever the domain they want and then if they like it they click on register and
HTML Code:
order.html?domain=rtrehdrh.com
is at the top of the page for me to put it into another page which is the order form.

So after they click register it come up with another form, I want to put the "rtrehdrh.com" into the form where it has the domain field, I thought I only needed to do this
PHP Code:
<input type="text" name="wantthisdomainname" id="wantthisdomainname" size="40" value="<=?php $_POST['domain']; ?>" /> 
And it suppose to show on the form before they even enter anything

So why is it not working?
heat33 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-27-2010, 01:07 PM Re: How to put info enetered into a form on one page onto another
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
Since the value is coming through the URL
it should be $_GET['domain']

HTML Code:
<input type="text" name="wantthisdomainname" id="wantthisdomainname" size="40" value="<=?php $_GET['domain']; ?>" />
$_REQUEST['domain'] also should be fine
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prasanthmj is offline
Reply With Quote
View Public Profile
 
Old 09-29-2010, 03:11 AM Re: How to put info enetered into a form on one page onto another
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
Your php tags are not correct it should be <?php $_GET['domain']; ?>

HTML Code:
<input type="text" name="wantthisdomainname" id="wantthisdomainname" size="40" value="<?php $_GET['domain']; ?> />"
miki86 is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to How to put info enetered into a form on one page onto another
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.61538 seconds with 12 queries