Thursday, February 26, 2009

Working from Yesterday...

Using the form we made yesterday (named reg_form.php), make the form action point to an external page (reg_confirm.php) using the POST method. reg_confirm.php should retrieve to the POST data and display all the user's registration information. The page should have a "Revise" and a "Confirm" button.

Format your pages so they look good.


.

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?


Monday, February 23, 2009

PHP


Today we start PHP...


.