Source code file: index.php



<!DOCTYPE html>
<html>
<head>

     <?php include 'css.htm';?>

</head>

<body>

    <?php 

        $pageName 
= basename($_SERVER['PHP_SELF']); /* Returns The Current PHP File Name */ 
        
        
echo "<h3>&nbsp;" . $pageName . "</h3>  ";
        echo 
"&nbsp;<a href='../my-php/read_code.php?file=" . $pageName . "' target='_blank'>   View Code  </a>";
    
?>

 
  <table background="images/bg.png" style="width:98%">

        <tr>
                <td style="width:20%">
                
                     <br>Click on the links in the menu for more PHP examples.<br>
                     <?php include 'menu.php';?>
                </td>
                
                <td height="95%" bgcolor="white" style="vertical-align:top">  
                    
                    <h2>PHP Notes</h2> <b>- What is PHP? </b>
                    <p>PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general
                    -purpose scripting language that is especially suited for web development and can be embedded into HTML.</p>
                </td>
        </tr> 
        
   </table>


</body>
</html>