CoolAffiilate Posted November 8, 2007 Share Posted November 8, 2007 Ok... The Url passes this value: http:www.mysite.com/index.php?address=test%40testtt%2Ecom how do I pass the address to a link on the page: a href="http:www.cool.com/index.php/test@testtt.com" Please help me out. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted November 8, 2007 Share Posted November 8, 2007 You can get the address by doing this $address = $_GET['address']; As long as your URL contains that information, it will be able to be grabbed by the above code. Quote Link to comment Share on other sites More sharing options...
CoolAffiilate Posted November 8, 2007 Author Share Posted November 8, 2007 would i do this? This is what i am doing and its not getting the address < A href="http://www.cool.com/<?php $address = $_GET['address'];?>"> Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted November 8, 2007 Share Posted November 8, 2007 That code doesn't make any sense. I'm not even sure what your trying to do. If the URL looks like this on the page you are on http:www.mysite.com/index.php?address=test%40testtt%2Ecom Then when you do this it will grab that information from the URL. $address = $_GET['address']; echo $address; //will print "test testtt Ecom" Now explain exactly what your trying to do. Your being to vague in your question to give you a better answer. Quote Link to comment Share on other sites More sharing options...
CoolAffiilate Posted November 8, 2007 Author Share Posted November 8, 2007 ok, i got it. I just was not posting the address after I called it. THANK YOU! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.