the error in this code is its not sending the var $_GET['user'] insted of if i wrotePHP Code:<a href="home.php?x=acc&user='.$_GET['user'].'">Privacy Policy</a>
the posted user will appearPHP Code:echo $_GET['user'];
| SitePoint Sponsor |
the error in this code is its not sending the var $_GET['user'] insted of if i wrotePHP Code:<a href="home.php?x=acc&user='.$_GET['user'].'">Privacy Policy</a>
the posted user will appearPHP Code:echo $_GET['user'];


your quoting is off
PHP Code:echo '<a href="home.php?x=acc&user="'.$_GET['user'].'">Privacy Policy</a>';
Mike Swiffin - Community Team Leader
Only a woman can read between the lines of a one word answer.....
I started out with nothing... and still got most of it left!
thanx man its workin![]()


good spot IP-Dope![]()
Mike Swiffin - Community Team Leader
Only a woman can read between the lines of a one word answer.....
I started out with nothing... and still got most of it left!




don't forget to escape your input
Go visit my site :-D you know you want to ;-)
www.mech7.net
I think this will also work.
Just for another way.PHP Code:echo "<a href=\"home.php?x=acc&user={$_GET['user']}\">Privacy Policy</a>";
Bookmarks