Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.