I have one .php file, which contain html, php and javascript.
The javascript block is used for determine browser, if browser is not IE, javascript will execute html block that contains php
This is javascript code
<script type="text/javascript">
var isIE = false || !!document.documentMode;
if( !isIE ){
//it will execute html block below
}
</script>
This is the html that contains php code
<div class=center>
<div class="flip">
<div class="flip-child">
<div class="front">
<img src="<?php ABSPATH; ?>/new/logo/logo.png" alt="front" />
</div>
<div class="back">
<a href="<?php ABSPATH; ?>/new/menu.html"> <img src="<?php ABSPATH; ?>/new/logo/back.png" alt="back" /> </a>
</div>
</div>
</div>
</div>
That all is in one .php file. If isIE variable is false, i want to execute that html block, how to do?