Anytime you’re switching between PHP and HTML, you need to be sure to wrap your php code in an opening ‘<?php‘ and a closing ‘?>‘. You’ll see an example of this on the line that says <?php }else{ ?>
I’m building a e-shop with woocommerce. Now i’m modifying the order_detail.php.
I have changed the code this way. Now i have e blank page.
Can somone please help me and explain what’s wrong?
im afraid you are not using the php syntax correctly. Probably you have a php error and server just returns blank page
Comment posted by Escaping from HTML
See
Comment posted by symcbean
This is a fractal of issues – even when you’ve solved your immediate issue of the PHP syntax error (you should have noticed this in your logs LONG before started typing stuff into Stackoverflow) the way you are mixing PHP and HTML makes maintaining your code difficult.