1 / 29

Web Technologies

Web Technologies. IT230 Dr Mohamed Habib. Objectives. Write PHP code to perform a specific task. Resolve problems in a PHP program. Write PHP functions to perform specific tasks . Chapter 2: PHP 5 Basic Language Chapter 3: PHP 5 OO Language. PHP 5 Basic Language. HTML EMBEDDING.

wsimonds
Download Presentation

Web Technologies

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Technologies IT230 Dr Mohamed Habib

  2. Objectives • Write PHP code to perform a specific task. • Resolve problems in a PHP program. • Write PHP functions to perform specific tasks. • Chapter 2: PHP 5 Basic LanguageChapter 3: PHP 5 OO Language

  3. PHP 5 Basic Language • HTML EMBEDDING

  4. PHP 5 Basic Language • Comments

  5. PHP 5 Basic Language • Variables

  6. PHP 5 Basic Language • Managing Variables

  7. PHP 5 Basic Language • Managing Variables

  8. PHP 5 Basic Language • SuperGlobals

  9. PHP 5 Basic Language • Basic Data Types • Integer • Floating Point • Strings • Booleans • Null

  10. PHP 5 Basic Language • Arrays

  11. PHP 5 Basic Language

  12. PHP 5 Basic Language • Reading array values

  13. PHP 5 Basic Language • Accessing Nested Arrays

  14. PHP 5 Basic Language • Traversing Arrays Using foreach

  15. PHP 5 Basic Language • Traversing Arrays Using list() and each()

  16. PHP 5 Basic Language • Constants

  17. PHP 5 Basic Language • Operators • Numerical Operators • Assignment Operators • Comparison Operators • Logical Operators • Bitwise Operators • Negation Operators • Increment/Decrement Operators • The Cast Operators • The Silence Operator

  18. PHP 5 Basic Language • CONTROL STRUCTURES

  19. PHP 5 Basic Language • CONTROL STRUCTURES

  20. PHP 5 Basic Language • Loop Control Structures

  21. PHP 5 Basic Language • Loop Control Structures

  22. PHP 5 Basic Language • Code Inclusion Control Structures

  23. PHP 5 Basic Language • FUNCTIONS

  24. PHP 5 Basic Language • FUNCTIONS

  25. PHP 5 Basic Language

  26. PHP 5 Basic Language • Declaring Function Parameters • By-Value Parameters • By-Reference Parameters

  27. PHP 5 OO Language • Write a Class

  28. PHP 5 OO Language

  29. IT230 – Week 12 Thanks,

More Related