php notes - cleveland state universityeecs.csuohio.edu/~sschung/cis433/php_notes.pdf · php notes...

7
PHP Notes This solution is made using the following software components: 1. MySQL5.5 DBMS supporting an instance of the COMPANY database. 2. Microsoft WebMatrix2 website creation tool. Example 1: Retrieving Data from the Company Database

Upload: others

Post on 23-Oct-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

  • PHP Notes This solution is made using the following software components: 

    1. MySQL5.5 DBMS supporting an instance of the COMPANY database. 2. Microsoft WebMatrix2 web‐site creation tool. 

    Example 1:  Retrieving Data from the Company Database 

     

       

  • This is the entry page:    index.php                           My Company ‐ PHP Page 1                   
     This button calls page phppage2.php                                           

     Showing Employee data inside an HTML table 

             PHP output : Employee table             Employees working for Dept 4          

  •   after connection                           

       

  • This is page:    PHPpage2.php 

     

     

  • This is page:   PHPPage3.php 

     

     

          My Company ‐ PHP Page 3                  

  •       

  •