Get variables from a href php -
i have:
<a href="settings.php?yeah=<?php echo $yeah;?> & word=<? echo $word;?">settings</a>
and in settings php:
<? echo $_get['yeah']; echo $_get['word']; ?>
the problem is working yeah.
you need remove spaces between variables in href :
<a href="settings.php?yeah=<?php echo $yeah;?>&word=<?php echo $word;?"> settings </a>
Comments
Post a Comment