liamat Posted March 16, 2009 Share Posted March 16, 2009 Hi there, After much time using asp for work and doing general website work I am now endeavouring to continue in my spare time. I am trying to do the following in php: page 1: has a form, where the user enters a value, on submit of the form, it takes you to page 2. page 2: I want to call upon the carried information, to to fill out a clickable link on that page. so " <a href="http://__carried forward information____/myvariable"></a> " I can get to view the information using the following code: <?php echo $_GET["name"];?>'/cpanel"> . However need to know whether I can merely place that into the code? So far doing it like that <a href="http://"'<?php echo $_GET["name"];?>'/myvariable"></a> doesn't want to work. Any ideas on this would be of tremendous help. Thanks very much! Quote Link to comment https://forums.phpfreaks.com/topic/149698-php-newbie-needs-help/ Share on other sites More sharing options...
Maq Posted March 16, 2009 Share Posted March 16, 2009 You don't have any value for what's going to be echoed as the link text: Try: HELLO! This will show up but probably won't work because your code is so messed up and you didn't use code tags. Quote Link to comment https://forums.phpfreaks.com/topic/149698-php-newbie-needs-help/#findComment-786083 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.