0% found this document useful (0 votes)
4 views

Chapter_1_Part_1 (1)

The document provides an overview of PHP, a widely-used open-source server-side scripting language ideal for web development. It highlights key features such as server-side scripting, database integration, cross-platform compatibility, and its free and open-source nature. The document also touches on PHP syntax, variables, data types, strings, numbers, operators, and conditional statements.

Uploaded by

fikrudelina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Chapter_1_Part_1 (1)

The document provides an overview of PHP, a widely-used open-source server-side scripting language ideal for web development. It highlights key features such as server-side scripting, database integration, cross-platform compatibility, and its free and open-source nature. The document also touches on PHP syntax, variables, data types, strings, numbers, operators, and conditional statements.

Uploaded by

fikrudelina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 58

Server Side Scripting 10/26/2024

HiLCoE School of Computer Science & Technology


Chapter One: Revision on PHP
Course Title : Web Technologies II
Instructor name: Yitayew Solomon
E-mail address: [email protected]
10/26/2024 Basics Of PHP 2
PHP

• PHP (Hypertext Preprocessor) is a widely-used open-source server-


side scripting language designed for web development.

• It is particularly suited for creating dynamic and interactive websites.

• PHP code is embedded within HTML, and when a webpage with PHP
code is requested, the server processes the PHP code and outputs
HTML to the user's browser.

10/26/2024 Basics Of PHP 3


key features of PHP

Server-Side Scripting: PHP runs on the server, and the client (browser) only sees
the output (HTML), not the PHP code.

Database Integration: PHP can interact with databases like MySQL,


PostgreSQL, and others, making it ideal for building database-driven websites.

Cross-Platform: PHP works on various platforms (Windows, Linux, macOS).

Free and Open-Source: PHP is free to use and modify, with a large community
of developers contributing to its improvements.

10/26/2024 Basics Of PHP 4


PHP Syntax

10/26/2024 Basics Of PHP 5


Cont. ..

10/26/2024 Basics Of PHP 6


PHP Case Sensitivity

10/26/2024 Basics Of PHP 7


Cont. …

10/26/2024 Basics Of PHP 8


Cont. …

10/26/2024 Basics Of PHP 9


Cont. …

10/26/2024 Basics Of PHP 10


Cont. …

10/26/2024 Basics Of PHP 11


PHP Variables

10/26/2024 Basics Of PHP 12


Cont. …

10/26/2024 Basics Of PHP 13


Cont. …

10/26/2024 Basics Of PHP 14


Cont. …

10/26/2024 Basics Of PHP 15


Cont. …

10/26/2024 Basics Of PHP 16


Cont. …

10/26/2024 Basics Of PHP 17


Cont. …

10/26/2024 Basics Of PHP 18


Cont. …

10/26/2024 Basics Of PHP 19


Cont. …

10/26/2024 Basics Of PHP 20


Cont. …

10/26/2024 Basics Of PHP 21


PHP Data Types
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
PHP Strings
Cont. …
Cont. …
Cont. …
PHP Numbers
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
PHP Operators
Cont. …
Cont. …
Cont. …
PHP Conditional Statements
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …
Cont. …

You might also like