Hoppus Posted September 16, 2008 Share Posted September 16, 2008 the topic says it all Link to comment https://forums.phpfreaks.com/topic/124531-in-if-statements-can-a-variable-a-variable/ Share on other sites More sharing options...
dennismonsewicz Posted September 16, 2008 Share Posted September 16, 2008 if you are referring to something like this if($var1 == $var2) { echo "some code"; } then yes Link to comment https://forums.phpfreaks.com/topic/124531-in-if-statements-can-a-variable-a-variable/#findComment-643089 Share on other sites More sharing options...
Maq Posted September 16, 2008 Share Posted September 16, 2008 I don't entirely understand your question but if I had to answer it would be yes. Could you give an example of what you're talking about? Link to comment https://forums.phpfreaks.com/topic/124531-in-if-statements-can-a-variable-a-variable/#findComment-643090 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.