Jump to content

?echo $session


wilna

Recommended Posts

well firstly, the top example contains some PHP, but it won't run because its not wrapped in <?php ?>

 

if you wanted that to work it would need to be

 

<a href="mrt10.php?<?php echo $session; ?>"><font face="Arial" size="2">March</a>

 

And it will add whatever $session is equal too into that link. And if it contains nothing, you'll see no difference.

 

And the bottom example is just plain old HTML lol

Link to comment
https://forums.phpfreaks.com/topic/196459-echo-session/#findComment-1031544
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.