3
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by simplypixie
0

Why don't you assign name into a global variable $a before you close the connection on line 13 (part one) i.e. place this line

$a=$row['name'];

after line 12. Alternatively use the same statement on the other page.

0

You won't get anything as their is no such variable as $row. You need to add the $a variable to the end of your link url (why are you using the name parameter in the link??):

echo "<a href='viewlink.php?name=".$row['name']."'>". $row['name'] ."</a>". " | " ;

And on your receiving page:

$a = $_GET['name'];

And then use $a throughout the script where you are currently using $row

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.