Passing variables to another page
Posted 20 July 2006 - 02:16 PM
When they click order i want the php page to pass the variable $domain to the order page so it can be display. "you are purchased the domain $domain"
I know this is probably really simple but i dont know how to do it.
Posted 20 July 2006 - 02:20 PM
Posted 20 July 2006 - 03:15 PM
Im trying to get it so when they click available, it takes them to the ordering page and passes on the domain they want registered (stored in $domain)
source code for script - www.terra-army.com/whois/whois.txt
Posted 20 July 2006 - 03:20 PM
pooppie.net AVAILABLE << buy.php?domain=pooppie.net
pooppie.org AVAILABLE << buy.php?domain=pooppie.org
pooppie.info AVAILABLE << buy.php?domain=pooppie.info
And then have buy.php extract the get key domain.
Looking at the sourcecode, doesn't it already do that?
echo "<tr><td>$domain</td><td><p class='available'><a href='/orderdomain.php?id=$domain'>AVAILABLE</a></p></td></tr>";
Posted 20 July 2006 - 03:48 PM
You say "And then have buy.php extract the get key domain"
how do i do that? thats what i want to know
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users