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 Link to comment https://forums.phpfreaks.com/topic/80658-why-this-simple-code-doesnt-work/ 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 Link to comment https://forums.phpfreaks.com/topic/80658-why-this-simple-code-doesnt-work/#findComment-409054 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. Link to comment https://forums.phpfreaks.com/topic/80658-why-this-simple-code-doesnt-work/#findComment-409055 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 Link to comment https://forums.phpfreaks.com/topic/80658-why-this-simple-code-doesnt-work/#findComment-409056 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.