alindeman Thu Mar 28 11:02:29 2002 EDT
Modified files:
/phpdoc/en/faq html.xml
Log:
typos
Index: phpdoc/en/faq/html.xml
diff -u phpdoc/en/faq/html.xml:1.13 phpdoc/en/faq/html.xml:1.14
--- phpdoc/en/faq/html.xml:1.13 Tue Jan 8 19:29:37 2002
+++ phpdoc/en/faq/html.xml Thu Mar 28 11:02:28 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<chapter id="faq.html">
<title>PHP and HTML</title>
<titleabbrev>PHP and HTML</titleabbrev>
@@ -54,7 +54,7 @@
<note>
<simpara>
It is wrong to <function>urlencode</function>
- <varname>$data</varname>, because it's the browsers reposability to
+ <varname>$data</varname>, because it's the browsers reposibility to
<function>urlencode</function> the data. All popular browsers do that
correctly. Note that this will happen regardless of the method (i.e.,
GET or POST). You'll only notice this in case of GET request though,
@@ -82,7 +82,7 @@
Upon submitting, either via GET or POST, the data will be urlencoded
by the browser for transferring, and directly urldecoded by PHP. So in
the end, you don't need to do any urlencoding/urldecoding yourself,
- everything is handeled automagically.
+ everything is handled automagically.
</simpara>
</note>
<example>
@@ -90,7 +90,7 @@
<programlisting role="php">
<![CDATA[
<?php
- echo "<a href=\"" . htmlspecialchars("/nexpage.php?stage=23&data=" .
+ echo "<a href=\"" . htmlspecialchars("/nextpage.php?stage=23&data=" .
urlencode($data)) . "\">\n";
?>
]]>
@@ -107,7 +107,7 @@
You need to <function>htmlspecialchars</function> the whole URL, because the
URL occurs as value of an HTML-attribute. In this case, the browser
will first un-<function>htmlspecialchars</function> the value, and then pass
- the URL on. PHP will understand the URL correcly, because you
+ the URL on. PHP will understand the URL correctly, because you
<function>urlencoded</function> the data.
</simpara>
<simpara>