didou Mon Nov 24 08:31:10 2003 EDT
Modified files:
/phpdoc/en/reference/url/functions http-build-query.xml
Log:
using screen
Index: phpdoc/en/reference/url/functions/http-build-query.xml
diff -u phpdoc/en/reference/url/functions/http-build-query.xml:1.3
phpdoc/en/reference/url/functions/http-build-query.xml:1.4
--- phpdoc/en/reference/url/functions/http-build-query.xml:1.3 Fri Nov 21 07:02:48
2003
+++ phpdoc/en/reference/url/functions/http-build-query.xml Mon Nov 24 08:31:10
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.http-build-query">
<refnamediv>
<refname>http_build_query</refname>
@@ -81,19 +81,29 @@
'CEO');
echo http_build_query($data, 'flags_');
-/* Outputs: (word wrapped for readability)
- user[name]=Bob+Smith&user[age]=47&user[sex]=M&user[dob]=5%1F12%1F1956&
- pastimes[0]=golf&pastimes[1]=opera&pastimes[2]=poker&pastimes[3]=rap&
- children[bobby][age]=12&children[bobby][sex]=M&children[sally][age]=8&
- children[sally][sex]=F&flags_0=CEO
-
- Note: Only the numericly indexed element in the base array "CEO"
- received a prefix. The other numeric indices, found under
- pastimes, do not require a string prefix to be legal variable names.
- */
?>
]]>
</programlisting>
+ <para>
+ this will output : (word wrapped for readability)
+ </para>
+ <screen>
+<![CDATA[
+user[name]=Bob+Smith&user[age]=47&user[sex]=M&user[dob]=5%1F12%1F1956&
+pastimes[0]=golf&pastimes[1]=opera&pastimes[2]=poker&pastimes[3]=rap&
+children[bobby][age]=12&children[bobby][sex]=M&children[sally][age]=8&
+children[sally][sex]=F&flags_0=CEO
+]]>
+ </screen>
+ <para>
+ <note>
+ <para>
+ Only the numericly indexed element in the base array "CEO" received a
+ prefix. The other numeric indices, found under pastimes, do not
+ require a string prefix to be legal variable names.
+ </para>
+ </note>
+ </para>
</example>
<example>