Introduction

This site is an assignment site for study group of Hello World forum.
Together we are studying the book Larry Ullman PHP For World Wide Web.

Syllabus

Chapter 1: Getting Started With PHP

Chapter 2: Variables

Chapter 3: HTML Forms and PHP

Chapter 4: Using Numbers

Chapter 5: Using Strings

Chapter 6: Control Structures

Chapter 7: Using Arrays

Chapter 8: Creating Web Applications

Chapter 9: Cookies and Sessions

Chapter 10: Creating Functions

Chapter 11: Files and Directories

Chapter 12: Intro to Databases

Chapter 13: Regular Expressions

The Source Code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Kristiina Hillerström" />
<meta name="Description" content="An assingment site of studygroup Hello World PHP 101." />
<title>PHP for World Wide Web</title>
<link href="css/phpwww.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css"> 
#mainContent h3 { zoom: 1; padding left:3px}
</style>
<![endif]-->
<!--http://www.adobe.com/cfusion/communityengine/index.cfm?event=findByTextId&productid=1&textid=THREE_PIXEL_JOG-->
</head>

<body>

<!-- start container  --><div id="container">
<!-- start header  --><div id="header">
    <h1>PHP for World Wide Web</h1>
    <img src="images/pw_header.jpg" width="780" height="61" alt="header" />
<!-- end #header --></div>

 <!-- start navi  --><div id="navcontainer">
<ul id="navlist">
<li ><a href="index.php" >Index</a></li>
<?php //for-lop to print menu usind div and list
         
    
for ($i 1$i <= 13$i++) {
        echo 
"<li><a href='ch$i.php'>Ch$i</a></li>";
    }
     
?>
<li><a href="../index.en.html">Home</a></li>
</ul>
</div>
  <!-- end navi  -->
  
  <div id="mainContent">
    <!-- start #mainContent -->
    <h2> Introduction </h2>
    <p class="intro">This site is an assignment site for study group of 
    <a href="http://lzydaz.com/phpBB3/index.php?sid=71b334691616fb09a7fae8b7a2c2f477"> 
    Hello World</a> forum.<br />
     Together we are studying the book <a href="http://www.dmcinsights.com/phpvqs2/">
      Larry Ullman PHP For World Wide Web.</a></p>
     <div id="links">
       <h4 class="intro">Useful Links</h4>
       <p><a href="http://www.apachefriends.org/en/xampp.html">XAMMP</a> Apache,MySQL,
        PHP and Perl </p>
       <p>THE BOOK</p>
       <p><a href="http://www.dmcinsights.com/phpvqs2/errata.php">Errata (2nd Edition)
       </a> Book corrections</p>
       <p><a href="http://www.dmcinsights.com/phorum/list.php?10">Forum</a> Larry Ullman</p>
       <p> PHP</p>
       <p><a href="http://www.php.net/quickref.php">PHP Function List</a> Manual Quick
        Reference</p>
       <p><a href="http://www.ohjelmointiputka.net/opas.php?tunnus=phpj">Ohjelmointiputka</a> (fi)</p>
       <p> CSS</p>
      <p><a href="http://reference.sitepoint.com/">Sitepoint</a> Reference for CSS and HTML</p>
      <p><a href="http://css.maxdesign.com.au/listamatic/browser-support.htm">Listamatic</a></p>
      <p><a href="http://www.alvit.de/handbook/">Web Developer's handbook</a></p>
      <p> STUDY GROUP MEMBER'S SITES</p>
      <p><a href="http://rjoannej.com/ullmanBook/index.php">Joanne</a></p>
      <p><a href="http://www.lzydaz.com/studygroup/php/index.php">Bonnie</a></p>
      <p><a href="http://www.amaraland.com/studyGroup/index.php">KC</a></p>
     
     </div>
     
    <h3>Syllabus </h3>
    <h4 class="padding_left">Chapter 1: Getting Started With PHP</h4>
    <ul>
      <li>Basic XHTML Syntax</li>
      <li>Basic PHP Syntax</li>
      <li>Testing Your Script</li>
      <li>Sending Text to the Browser</li>
      <li>Sending HTML to the Browser</li>
      <li>Using White Space in PHP and HTML</li>
      <li>Adding Comments to Your Scripts</li>
    </ul>
    <h4 class="padding_left">Chapter 2: Variables </h4>
    <ul>
      <li>What are Variables?</li>
      <li>Variable Syntax</li>
      <li>Types of Variables</li>
      <li>Assigning Values to Variables</li>
      <li>Understanding Quotation Marks</li>
    </ul>
    <h4 class="padding_left">Chapter 3: HTML Forms and PHP</h4>
    <ul>
      <li>Creating a Simple Form</li>
      <li>Using GET or POST</li>
      <li>Receiving Data from a Form in PHP</li>
      <li>Displaying Errors</li>
      <li>Error Reporting</li>
      <li>The Register Globals Problem</li>
      <li>Manually Sending Data to a Page</li>
    </ul>
    <h4 class="padding_left">Chapter 4: Using Numbers</h4>
    <ul>
      <li>Creating the Form</li>
      <li>Adding, Subtracting, Multiplying, and Dividing</li>
      <li>Formatting Numbers</li>
      <li>Incrementing and Decrementing a Number</li>
      <li>Creating Random Numbers</li>
    </ul>
    <h4 class="padding_left">Chapter 5: Using Strings</h4>
    <ul>
      <li>Creating the HTML Form</li>
      <li>Connecting Strings (Concatenation)</li>
      <li>Combating Magic Quotes</li>
      <li>HTML and PHP</li>
      <li>Encoding and Decoding Strings</li>
      <li>Replacing Parts of a String</li>
      <li>Other String Functions</li>
    </ul>
    <h4 class="padding_left">Chapter 6: Control Structures</h4>
    <ul>
      <li>Creating the HTML Form</li>
      <li>The if Conditional</li>
      <li>Using Else</li>
      <li>More Operators</li>
      <li>Using else if</li>
      <li>The Switch Conditional</li>
      <li>The For Loop</li>
    </ul>
    <h4 class="padding_left">Chapter 7: Using Arrays</h4>
    <ul>
      <li>What Is an Array?</li>
      <li>Creating an Array</li>
      <li>Adding Items to an Array</li>
      <li>Accessing Array Elements</li>
      <li>Creating Multidimensional Arrays</li>
      <li>Sorting Arrays</li>
      <li>Transforming Between Strings and Arrays</li>
      <li>Creating an Array from a Form</li>
    </ul>
    <h4 class="padding_left">Chapter 8: Creating Web Applications</h4>
    <ul>
      <li>Creating Templates</li>
      <li>Using External Files</li>
      <li>Using Constants</li>
      <li>Working with the Date and Time</li>
      <li>Handling HTML Forms with PHP, Revisited</li>
      <li>Making Forms Sticky</li>
      <li>Sending Email</li>
      <li>Output Buffering</li>
      <li>Manipulating HTTP Headers</li>
    </ul>
    <h4 class="padding_left">Chapter 9: Cookies and Sessions</h4>
    <ul>
      <li>What Are Cookies?</li>
      <li>Creating Cookies</li>
      <li>Reading from Cookies</li>
      <li>Adding Parameters to a Cookie</li>
      <li>Deleting a Cookie</li>
      <li>What Are Sessions?</li>
      <li>Creating a Session</li>
      <li>Accessing Session Variables</li>
      <li>Deleting a Session</li>
    </ul>
    <h4 class="padding_left">Chapter 10: Creating Functions</h4>
    <ul>
      <li>Creating and Using Simple Functions</li>
      <li>Creating and Calling Functions that Take Arguments</li>
      <li>Setting Default Argument Values</li>
      <li>Creating and Using Functions that Return a Value</li>
      <li>Understanding Variable Scope</li>
    </ul>
    <h4 class="padding_left">Chapter 11: Files and Directories</h4>
    <ul>
      <li>File Permissions</li>
      <li>Writing to Files</li>
      <li>Locking Files</li>
      <li>Reading from Files</li>
      <li>Handling File Uploads</li>
      <li>Navigating Directories</li>
      <li>Creating Directories</li>
      <li>Reading Files Incrementally</li>
    </ul>
    <h4 class="padding_left">Chapter 12: Intro to Databases</h4>
    <ul>
      <li>Introduction to SQL</li>
      <li>Connecting to MySQL</li>
      <li>MySQL Error Handling</li>
      <li>Creating and Selecting a Database</li>
      <li>Creating a Table</li>
      <li>Inserting Data into a Database</li>
      <li>Retrieving Data from a Database</li>
      <li>Deleting Data in a Database</li>
      <li>Updating Data in a Database</li>
    </ul>
    <h4 class="padding_left">Chapter 13: Regular Expressions</h4>
    <ul>
      <li>What are Regular Expressions?</li>
      <li>Matching Patterns</li>
      <li>Using Literals</li>
      <li>Using Metacharacters</li>
      <li>Using Quantifiers</li>
      <li>Using Classes</li>
      <li>Matching and Replacing Patterns</li>
    </ul>
  </div><!-- end #mainContent -->
 
  
  <!--start koodi-->
  <div id="koodi">
  <h2>The Source Code </h2>
<?php
show_source
("index.php");//shows the source code of this page
?>
</div> <!--end koodi-->
  
  <!-- start #footer -->
  <div id="footer">
    <p>&copy; K.Hillerstr&ouml;m 2009 <a href="http://validator.w3.org/check?uri=referer"> 
    <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional
    " width="88" height="31" class="footer_img" /> 
    </a> <a href="http://jigsaw.w3.org/css-validator/check?uri=referer"> 
    <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" width="88"
     height="31" class="footer_img"/> </a>Last Updated
      <!-- #BeginDate format:Ge1m -->26.02.2009  4:50<!-- #EndDate -->
    </p>
    <!-- end #footer -->
  </div>
<!-- end #container --></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7264298-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>