ikkentobi Posted December 7, 2007 Share Posted December 7, 2007 I can't figure out why this doesn't work: <?php if (1==2) { ?> <strong>You should never see this.</strong> <?php } else { ?> <strong>This should show up.</strong> <?php } ?> Any ideas? thx Tobias Quote Link to comment Share on other sites More sharing options...
tbare Posted December 7, 2007 Share Posted December 7, 2007 it does... http://www.wannafork.com/test.php contains that code exactly Quote Link to comment Share on other sites More sharing options...
revraz Posted December 7, 2007 Share Posted December 7, 2007 So what displays for you? Should work fine. Quote Link to comment Share on other sites More sharing options...
ikkentobi Posted December 7, 2007 Author Share Posted December 7, 2007 Oops... I simply forgot to put it in the htdocs folder... very stupid never mind thx Tobias Quote Link to comment 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.