Jump to content

php newbie needs help!


liamat

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/149698-php-newbie-needs-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.