spaceman12 Posted December 26, 2010 Share Posted December 26, 2010 Hello, I just wanna know if any such commands are available in php for making a variable as such like - $variable = " blah blah .. . . . index.php?X=<?php echo $_GET['x']; ?>..........blah"; thank you Quote Link to comment https://forums.phpfreaks.com/topic/222667-how-to-keep-as-some-variables/ Share on other sites More sharing options...
PHPTOM Posted December 26, 2010 Share Posted December 26, 2010 $variable = " blah blah .. . . . index.php?X=".$_GET['x']."..........blah"; To include another variable inside a string just do "stringstringstring".variable."stringstringstring"; Quote Link to comment https://forums.phpfreaks.com/topic/222667-how-to-keep-as-some-variables/#findComment-1151532 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.