<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/getting-started.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'tutorial.php',
    1 => 'A simple tutorial',
    2 => 'A simple tutorial',
  ),
  'up' => 
  array (
    0 => 'getting-started.php',
    1 => 'Getting Started',
  ),
  'prev' => 
  array (
    0 => 'introduction.php',
    1 => 'Introduction',
  ),
  'next' => 
  array (
    0 => 'tutorial.firstpage.php',
    1 => 'Your first PHP-enabled page',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'chapters/tutorial.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/tutorial.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="tutorial" class="chapter">
  <div class="info"><h1 class="title">A simple tutorial</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="tutorial.firstpage.php">Your first PHP-enabled page</a></li><li><a href="tutorial.useful.php">Something Useful</a></li><li><a href="tutorial.forms.php">Dealing with Forms</a></li><li><a href="tutorial.whatsnext.php">What's next?</a></li></ul>
</div>

  <p class="para">
   Here we would like to show the very basics of PHP in a short, simple
   tutorial. This text only deals with dynamic web page creation with
   PHP, though PHP is not only capable of creating web pages. See
   the section titled <a href="introduction.php#intro-whatcando" class="link">What can PHP
   do</a> for more information.
  </p>
  <p class="para">
   PHP-enabled web pages are treated just like regular HTML pages and
   you can create and edit them the same way you normally create
   regular HTML pages.
  </p>

  

  

  

  
 </div>
<?php manual_footer($setup); ?>