Monday, July 21, 2025

PROCEDURAL PHP ~ METHOD GET - POST & SUPERGLOBALS VARIABLE $_GET - $_POST



We need to understand arrays, functions, and how GET/POST methods and superglobal variables like $_GET and $_POST work before you can do CRUD in databases like MySQL or MariaDB ~ Fiance Ticoalu

Click here to downloads lesson and code (in bahasa)
Click here to downloads lesson and code (in english)

Sunday, July 20, 2025

PROCEDURAL PHP ~ VARIABLE SCOPE

 



"Playing with functions in PHP is crucial for understanding variable scope. Without it, functions won't work properly." ~ Fiance Ticoalu

Click here to download lesson and code (in bahasa)
Click here to download lesson and code (in english)

Sunday, July 13, 2025

PROCEDURAL PHP - ARRAY NUMERIC, ASSOCIATIVE, ARRAY MULTIDIMENSION, LOOPS ARRAY


- This lesson on arrays is very important; therefore, proper understanding is crucial.
- In my opinion — although this may not be technically accurate — an array is a variable that can store multiple values, and those values can be of different data types (especially in PHP).

Click here to download lesson and code Array in PHP (in bahasa)
Click here to download lesson and code Array in PHP (in english)

Five Steps to Understanding Arrays in PHP:

  1. Displaying Output with var_dump() or print_r()

  2. Displaying Output with echo

  3. Understanding Array Types: Multidimensional, Numeric, and Associative Arrays

  4. Looping Through Arrays with foreach

  5. Adding New Values to an Array




PROCEDURAL PHP - USER DEFINE FUNCTION

 

**For built-in functions, we can learn from the PHP.net documentation or W3Schools, as there are more than 1,000 built-in functions in PHP

- UDF is a function that we define ourselves
- Why UDF is important :
   1. To avoid writing repetitive code
   2. For modular programming (e.g., separating front-end code and back-end logic)

Click here to download lesson and code UDF in PHP

Wednesday, June 25, 2025

PROCEDURAL PHP - LOOPS AND CONDITIONAL


Yes PHP still alive, PHP is one of the best web programming languages
just like phyton is excellent at machine learning, PHP is excellent at web programming. so it's still relevant to learn PHP

Click here to download procedural php - loops and conditional lesson (*.txt) file
Click here to download procedural php - loops and conditional source code (*.php) file