correcting titl

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@117202 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2003-02-19 22:12:25 +00:00
parent 2e2a6ee884
commit 8ff506d5f5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
7<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/url.xml, last change in rev 1.2 -->
<refentry id="function.urlencode">
<refnamediv>
@ -49,7 +49,7 @@ echo '<a href="mycgi?foo=', urlencode($userinput), '">';
arg_separator for this. Leave it as &amp;, but simply encode
your URLs using <function>htmlentities</function>(urlencode($data)).
<example>
<title><function>urlencode/htmlentities</function> example</title>
<title><function>urlencode</function> and <function>htmlentities</function> example</title>
<programlisting role="php">
<![CDATA[
echo '<a href="mycgi?foo=', htmlentities(urlencode($userinput)), '">';
@ -60,7 +60,7 @@ echo '<a href="mycgi?foo=', htmlentities(urlencode($userinput)), '">';
<para>
See also <function>urldecode</function>,
<function>htmlentities</function>,
<function>rawurldecode</function>,
<function>rawurldecode</function>, and
<function>rawurlencode</function>.
</para>
</refsect1>