Define and Using Functions In PHP Programming Language and Run It On The LocalHost
PHP is an open source programming language. We can write codes on NotePad++ application. Also we can display our program on LocalHost
What Will I Learn?
- We will learn how can we write PHP language on the NotPad ++ application.
- Also We will learn how our applications will run on LocalHost that we have make in PHP Programming Language.
- In this video we will learn what is the function and what can we do with functions.
- We will learn how we can create function.
- Also we will learn how can we call functions.
- In this video we will learn how can we define veriables. Also we will learn how can we use defined veriables in the functions.
- We will learn how can we display our functions result.
- Also we will learn how can we block unwanted errors on PHP Programming Language.
Requirements
- For the run our applications on LocalHost with PHP language we need the WampServer program . WampServer is an open source application. We can download Wampserver here.
- For the write our applications in PHP language we need the NotPad ++ program . NotPAd++ is an open source program. We can download NotPad++ here
- Windows 32-64
Difficulty
- Intermediate
Description
We can write our applications in PHP Programming Language with NotPad ++ program. You can download the program by clicking on the relevant link In the Requirements section.
We can use the WampServer program for the run our applications on LocalHost that we have done in PHP Programming Language. You can download and use the relevant program by clicking the relevant link in the requirements section.
We should store our applications in the "www" folder in the "wamp" folder on the "c:" drive of our computer, To run our applications through LocalHost.
Functions are small program parts. Functions works when i called them. Every time i can call our defined functions.
We can create a function on PHP Programming Language.
We can call our function when i want to run it. Also i can use our variables in a function.
Functions are defined once and called when requested.
I can define more than one function on an application.
We can block unwanted errors on the PHP Programming Language.
Commands I Use
FUNCTION
i use this command for the create a function.
RETURN
i use this command for the return results.
error_reporting(0)
i use this command for the block unwanted errors.
ECHO
i use this command for the display our result on the LocalHost
$ Sign
i use this command for the define veriables.
Video Tutorial
Curriculum
- Arithmetic Operations in PHP Programming Language
- Use and Implementation of Switch-Case Structure in PHP Programming Language
- Array Creation in PHP Language with Array Command
- String Operations and Usage in PHP Programming Language
- Use WHILE Conversion in PHP Programming Language
- File Operations In The PHP Programming Language Part 1
- File Operations In The PHP Programming Language Part 2
- Directory Operations in PHP Programming Language
Posted on Utopian.io - Rewarding Open Source Contributors