Please enable JavaScript.
Coggle requires JavaScript to display documents.
CTI ISSR PP (Lessons (Introduction to PHP (Known website examples that use…
CTI ISSR PP
Lessons
Known website examples that use PHP (Facebook, Youtube...)
-
-
-
How to use it?
a variable that stores a fictional character's name (we will use that character example for the rest of the lessons)
-
How to use it?
we have a variable containing our character's age, and depending if he is older or younger than 10, we will not let him into the website
-
How to use it?
we have an array for our character, and in it we will have all our traits variables: eye color, age, height...
-
How to use it?
we have several arrays each containing a character, and we need to find the one that has the name john
-
-
some more practical examples, incl. variables passed, returns
-
How to use it?
create a base character and then modify him by changing his eye color, weight...
How to use it?
fight between characters, both have 10 of life, each time 1 attacks, the other loses 1 life