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 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"; 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
Archived
This topic is now archived and is closed to further replies.