Eli, the Computer Guy - Part 1


PHP Programming Part 1

Introduction to PHP Programming


  1. How does Eli describe PHP?

  2. PHP is the programming language that makes websites useful. It also allows you to create dynamic webpages and interact with data.


  3. Briefly compare and contrast scripted and compiled languages.

  4. Scripted languages are used when you upload a text file to a server and use an interpreter to access the file and deliver the program to the user. Compiled languages create an executable file but it is extremely hard to edit.


  5. Briefly explain the difference between client side and server side scripting.

  6. Client-side scripting can only be accessed by the main user and only certain codes will be available to them. Server side scripting, on the other had, is made at the web server and will output HTML to the user.


  7. What popular website does Eli cite as an example of what you can do with PHP and MySQL? Why did Eli decide that this particular website was a good example?

  8. Eli cites Craigslist as an example of PHP and MySQL. It is an incredibly powerful website and it is effective.


  9. What does Eli emphasize as the 'nice' thing about scripted languages such as PHP?

  10. Scripted languages like PHP can be written on notepad++ and the text files can easily be accessed.


  11. What is notepad++? Why does Eli recommend notepad++?

  12. Notepad++ is a basic text editor. Eli recommends this program because it is simple, free, and does the job.


  13. If you want to write and run PHP code, what do you need?

  14. A text editor and a web server with PHP interpreter installed.


  15. How does Eli describe syntax?

  16. Syntax is extremely important. If you make one tiny mistake, the code will not run at all.


The link to my working code is here.