how to add image in php code example Example: insert image in php <body> <?php echo "<img src='path/to/myphoto.jpg' alt='a photoe' />"; ?> </body>