Jump to content

Passing a variable into a another page


Jay2391

Recommended Posts

I have a list that comes in during a while statement..

 

Jane

john

pete

..ect

 

and i have a hyperlink so i can view their stats... and i want to past their name

so i can get it in the next page...but the variable is not comming up ???

 

<a href=info.php?name=$name>".$name."</a>

 

 

this is what I get

 

http://localhost/mdo_main/info.php?name=

 

Link to comment
https://forums.phpfreaks.com/topic/75666-passing-a-variable-into-a-another-page/
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.