I want to have a standard layout for all my pages on my php site. Is there anything in php similar to Rails's yield
Example:
<!DOCTYPE html>
<html>
<head>
<!--STYLESHEETS AND SUCH HERE-->
</head>
<body>
<!--NAVBAR HERE-->
<?php
//YIELD THINGY HERE
?>
<!--FOOTER HERE-->
</body>
</html>