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.
MySQL – PHP Print Records to HTML (mysqli)
You can use PHP to access records in a MySQL database and then print them out in HTML. phpSelect.php phpSelectTable.php
PHP – Code Reuse – include
Using includes you can reuse the same code in multiple scripts.
PHP – For Loops
For loops are ways to repeat specific code based on whether a condition continues to be true.
Be the first to comment