- 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:
-
Displaying Output with
var_dump()
orprint_r()
-
Displaying Output with
echo
-
Understanding Array Types: Multidimensional, Numeric, and Associative Arrays
-
Looping Through Arrays with
foreach
-
Adding New Values to an Array
0 comments:
Post a Comment