Author: Coding_Robort

PHP Lesson 25 – Constant – PHP Tutorials

php constant The value of a constant is, unlike a variable, no longer changeable once it has been defined. This is useful, for example, to define fixed, immutable values, such as the maximum length of a post or the version of your script. Constant Syntax - PHP Tutorial To define a constant, you use the keyword const, You can [...]

Read More

PHP Lesson 21: How to create Fuctions Example

php functions So far, we have mainly used functions that provide PHP. This tutorial is about writing and using your own functions. Often you have a certain programming problem that occurs in several places, for example, you want to calculate values of a certain mathematical function in several places of your scripts. Here every time to copy [...]

Read More