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;?>&amp;word=<?php echo $word;?"> settings </a> 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -