Jump to content

$_REQUEST(word+$variable) ??? How?


Huijari

Recommended Posts

Hello, so this is my code:

 

$iii=$_REQUEST['iii'];
$x_coord=$_REQUEST['word'$iii];
echo "$iii";
echo "$x_coord";

 

So example: I type url: mysite.com/pathtomyphpfile.php?iii=3&word3=27

 

Then it should echo: 3 (iii)

and 27 (x_coord)

 

Because it should request word+iii so, word3 that is 27

 

Tell me what I am doing wrong. I hope this is possible because its important for my project.

Link to comment
https://forums.phpfreaks.com/topic/189537-_requestwordvariable-how/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.