Hoppus Posted September 16, 2008 Share Posted September 16, 2008 the topic says it all Quote 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 Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.