== PHP First Lesson This is suitable for people who are just learning programming. This page is a record of what Roger and I were able to accomplish in the first lesson. Charles was there too, but he was fated to drop out because he could not type very fast. A big question could be, "Why PHP?" Well, PHP has an easy syntax and is extremely useful for web-based programming. It's a great starter, with better syntax than Python. And, why not? PHP has it's own local server, so it's easy for anyone to use. You can just use a text editor. Its oldschool! A great start for the serious. And so, we began. == 1. Hello World with echo() Run this. What does it do? What is ECHO? === For the record Quoting slashes. === ex.2 echo.php Another example. === ex.3 roger.php \n"; ?> === ex. 4 box.php We can draw art. Can you make a triangle? === ex. 5 dinosaur.php More art. This is fun! I think, this was a homework question (draw a dinosaur). === ex. 6 triceratops.php Oh, this was the homework question. Anyways, note the quoting slashes. == 2. input with readLine() Teacher and Doctor. Here is teacher.php: and doctor.php: == 3. decision making with if-then