<?php
for ($santi = 0; $santi < 100; $santi++) {
echo('<b>HOLAAAAAA!!!!</b> ' . $santi . ' <br> ');
}
?>
<?php
print("©" . date("Y")); // DISPLAY THE CURRENT YEAR AFTER THE © SYMBOL
?>
This is my first php!!! YAY!!!!!
In Javascript in order to define a variable you use "var santi = 0"
In php in order to define a variable you use "$santi = 0"
In order to create a concatenation (1+1=11) in Javascript you do this
"Santiago is " + age + " years old"
in PHP you use a DOT "." instead
"Santiago is " . $age . " years old"
HOLAAAAAA!!!! 0
HOLAAAAAA!!!! 1
HOLAAAAAA!!!! 2
HOLAAAAAA!!!! 3
HOLAAAAAA!!!! 4
HOLAAAAAA!!!! 5
HOLAAAAAA!!!! 6
HOLAAAAAA!!!! 7
HOLAAAAAA!!!! 8
HOLAAAAAA!!!! 9
HOLAAAAAA!!!! 10
HOLAAAAAA!!!! 11
HOLAAAAAA!!!! 12
HOLAAAAAA!!!! 13
HOLAAAAAA!!!! 14
HOLAAAAAA!!!! 15
HOLAAAAAA!!!! 16
HOLAAAAAA!!!! 17
HOLAAAAAA!!!! 18
HOLAAAAAA!!!! 19
HOLAAAAAA!!!! 20
HOLAAAAAA!!!! 21
HOLAAAAAA!!!! 22
HOLAAAAAA!!!! 23
HOLAAAAAA!!!! 24
HOLAAAAAA!!!! 25
HOLAAAAAA!!!! 26
HOLAAAAAA!!!! 27
HOLAAAAAA!!!! 28
HOLAAAAAA!!!! 29
HOLAAAAAA!!!! 30
HOLAAAAAA!!!! 31
HOLAAAAAA!!!! 32
HOLAAAAAA!!!! 33
HOLAAAAAA!!!! 34
HOLAAAAAA!!!! 35
HOLAAAAAA!!!! 36
HOLAAAAAA!!!! 37
HOLAAAAAA!!!! 38
HOLAAAAAA!!!! 39
HOLAAAAAA!!!! 40
HOLAAAAAA!!!! 41
HOLAAAAAA!!!! 42
HOLAAAAAA!!!! 43
HOLAAAAAA!!!! 44
HOLAAAAAA!!!! 45
HOLAAAAAA!!!! 46
HOLAAAAAA!!!! 47
HOLAAAAAA!!!! 48
HOLAAAAAA!!!! 49
HOLAAAAAA!!!! 50
HOLAAAAAA!!!! 51
HOLAAAAAA!!!! 52
HOLAAAAAA!!!! 53
HOLAAAAAA!!!! 54
HOLAAAAAA!!!! 55
HOLAAAAAA!!!! 56
HOLAAAAAA!!!! 57
HOLAAAAAA!!!! 58
HOLAAAAAA!!!! 59
HOLAAAAAA!!!! 60
HOLAAAAAA!!!! 61
HOLAAAAAA!!!! 62
HOLAAAAAA!!!! 63
HOLAAAAAA!!!! 64
HOLAAAAAA!!!! 65
HOLAAAAAA!!!! 66
HOLAAAAAA!!!! 67
HOLAAAAAA!!!! 68
HOLAAAAAA!!!! 69
HOLAAAAAA!!!! 70
HOLAAAAAA!!!! 71
HOLAAAAAA!!!! 72
HOLAAAAAA!!!! 73
HOLAAAAAA!!!! 74
HOLAAAAAA!!!! 75
HOLAAAAAA!!!! 76
HOLAAAAAA!!!! 77
HOLAAAAAA!!!! 78
HOLAAAAAA!!!! 79
HOLAAAAAA!!!! 80
HOLAAAAAA!!!! 81
HOLAAAAAA!!!! 82
HOLAAAAAA!!!! 83
HOLAAAAAA!!!! 84
HOLAAAAAA!!!! 85
HOLAAAAAA!!!! 86
HOLAAAAAA!!!! 87
HOLAAAAAA!!!! 88
HOLAAAAAA!!!! 89
HOLAAAAAA!!!! 90
HOLAAAAAA!!!! 91
HOLAAAAAA!!!! 92
HOLAAAAAA!!!! 93
HOLAAAAAA!!!! 94
HOLAAAAAA!!!! 95
HOLAAAAAA!!!! 96
HOLAAAAAA!!!! 97
HOLAAAAAA!!!! 98
HOLAAAAAA!!!! 99
And this is how you add the © sign and the current year:
©2025