Tag Archives: php

PHP Week 4

Fany-Savinas-Mac:PHP Fany$ php open_electricity.php electricity.txt file contents: Array ( [0] => Here is a dissertation on physical science for your enlightenment. [1] => I don’t know where it came from so it must be true! [2] => [3] => [ … Continue reading

Posted in Computing | Tagged | Leave a comment

PHP Week 3

Fany-Savinas-Mac:PHP Fany$ php lower_upper_case.php Insert input: I Am Awesome! Lowercase: i am awesome! Uppercase: I AM AWESOME! —— Fany-Savinas-Mac:PHP Fany$ php number_maths.php Insert Initial Number: 3 Insert Final Number: 5 3 + 5= 8 3 – 5= -2 3 x … Continue reading

Posted in Computing | Tagged | Leave a comment

PHP Week 2

Fany-Savinas-Mac:PHP Fany$ php twonoun.php dog cat dog and cat —— Fany-Savinas-Mac:PHP Fany$ php numbermaths.php 5 10 5 + 10= 15 5 – 10= -5 5 x 10= 50 5 / 10= 0.5 —— Fany-Savinas-Mac:PHP Fany$ php repeat.php animals 3 animals … Continue reading

Posted in Computing | Tagged , , , , , | Leave a comment

Starting PHP Week 1

I started to learn PHP and my first program was the well known Hello World. The first line opens the program. The second line is a comment, meaning the computer skips that line, and it is only for me and … Continue reading

Posted in Computing | Tagged , , | Leave a comment