Wednesday, February 25, 2009

PHP Quiz


Answer the following in a text document and upload:
  • What is an XAMP server?
  • How does PHP code begin?
  • What is the PHP equivelant to cout?
  • PHP is very similar to what other language?
  • What symbol begins each variable?
  • How do variables in PHP differ from variables in C++?
  • What does the concatenation operator do?
  • Whrite the code needed to make an array named "kabooki" which contains the values "lemon-fresh", "Peanuts", "507", and "pickLLLLLes".
  • Write a foreach loop which displays the contents of "kabooki".
  • When declaring a function, what word must preceed the name of the function?
  • What are the 4 methods (SuperGlobals) for sending form information.
  • How do $_GET and $_POST differ?
  • Why do cookies pile up on your computer?


No comments: