I'm new to PHP and I'm having a problem.
I have two PHP Scripts and I'm trying to pass a variable from home.php
file to friend_home.php
.
home.php
script:
'<a href="friend_home.php?value='.$friend_row['username'].'">'<?php echo $friend_row['username'] ;
?>'</a>'
friend_home.php
script:
<?php
echo $_GET['value'];
a?>
But I'm getting this as output:
'.$friend_row['username'].'
and not the actual value itself.
Any help would be appreciated, thank you :)