Coding languages like all software has versions. These versions offer improvements, and changes over time. This means that functions that work in some versions do not work in others. So you need to verify which version of PHP code has been written for, and also think about using common functions in your code to prevent issues with running it on new versions of PHP.
Related Articles

PHP Programming (Beginner)
PHP – Setting Variables
Variables in PHP can be set without needing to be declared. <?php $string = “Hello World”; $int = 1; $float = 2.2; print “<h1>String</h1>”; print $string; print “<h1>Int</h1>”; print $int; print “<h1>Float</h1>”; print $float; […]

PHP Programming (Beginner)
PHP – Set and Read Cookies – setcookie()
Cookies allow you to set variables that are persistent between multiple visits to a website.

PHP Programming (Beginner)
PHP – Creating Arrays
Arrays allow for a variable to have multiple values. This gives you the ability to create lists of names, and be able to sort them easily. Also it allows you to have values from a […]
Be the first to comment