Eli, the Computer Guy - Part 4


PHP Programming Part 4

Variable in Print in PHP Programming


  1. What are the three types of PHP variables that Eli discusses?

  2. Numbers, strings, and arrays.


  3. What naming rules apply to PHP variables?

  4. Variables must always start with '$' and begin with a letter or an underscore. It cannot begin with a number anc capitalization is important.


  5. Compare and contrast the html '< b r >' tag in HTML and the '\n' in PHP.

  6. A web browser will only use HTML so the '< b r >' will be more effective. In PHP, '\n' cannot be used in HTML because HTML cannot interpret plain text.