philip          Sat Sep 16 20:21:10 2006 UTC

  Modified files:              
    /phpdoc/en/chapters tutorial.xml 
  Log:
  Added links/markup to the last commit by Rasmus
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/chapters/tutorial.xml?r1=1.43&r2=1.44&diff_format=u
Index: phpdoc/en/chapters/tutorial.xml
diff -u phpdoc/en/chapters/tutorial.xml:1.43 
phpdoc/en/chapters/tutorial.xml:1.44
--- phpdoc/en/chapters/tutorial.xml:1.43        Sat Sep 16 01:59:28 2006
+++ phpdoc/en/chapters/tutorial.xml     Sat Sep 16 20:21:09 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-9"?>
-<!-- $Revision: 1.43 $ -->
+<!-- $Revision: 1.44 $ -->
  <chapter id="tutorial">
   <title>A simple tutorial</title>
 
@@ -426,13 +426,15 @@
     </example>
    </para>
    <para>
-    Apart from the htmlspecialchars() and (int) parts, it should be obvious
-    what this does.  htmlspecialchars() makes sure any characters that are
+    Apart from the <function>htmlspecialchars</function> and 
+    <literal>(int)</literal> parts, it should be obvious what this does.  
+    <function>htmlspecialchars</function> makes sure any characters that are
     special in html are properly encoded so people can't inject HTML tags
-    or Javascript into your page.  For  the age field, since we know it is
-    a number, we can just convert it to an integer which will automatically
-    get rid of any stray characters.  You can also have PHP do this for you
-    automatically by using the filter extension.
+    or Javascript into your page.  For the age field, since we know it is a 
+    number, we can just <link 
linkend="language.types.typecasting">convert</link> 
+    it to an <type>integer</type> which will automatically get rid of any 
+    stray characters.  You can also have PHP do this for you automatically by 
+    using the <link linkend="ref.filter">filter</link> extension.
     The <varname>$_POST['name']</varname> and <varname>$_POST['age']</varname>
     variables are automatically set for you by PHP.  Earlier we
     used the <varname>$_SERVER</varname> autoglobal; above we just 

Reply via email to