I am trying to pass a variable between two webpages via a url and using php. I am getting the undefined index error.
I have tried multiple ways of doing this and spent the last several hours googling the problem and think the following code should work -- probably just a conceptual error. Am not using ISSET at this point because this is a url pass and it should be set.
The following code is on the passing page:
<DIV>
<ul>
<li> <a href ="bulletindisplay.php?link = Bulletins/December_24_2014.pdf" title="Christmas Eve 2014">Christmas Eve, 2014 </a>; </li>
</ul>
</DIV>
The following code is on bulletindisplay.php
<div>
<?php
$link = $_GET['link'];
echo $link;
?>
</div>
Does anyone see my error? Thank you so much for any help.