html add php in line code example Example: inline php in html <body> Hello, today is <?php echo date('l, F jS, Y'); ?>. </body>