wiesemann Fri Jan 24 12:08:37 2003 EDT Modified files: /phpdoc/en/faq html.xml Log: added <varname> and <function> Index: phpdoc/en/faq/html.xml diff -u phpdoc/en/faq/html.xml:1.17 phpdoc/en/faq/html.xml:1.18 --- phpdoc/en/faq/html.xml:1.17 Sun Jun 30 06:41:42 2002 +++ phpdoc/en/faq/html.xml Fri Jan 24 12:08:37 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <chapter id="faq.html"> <title>PHP and HTML</title> <titleabbrev>PHP and HTML</titleabbrev> @@ -27,7 +27,7 @@ <para> HTML interpretation. In order to specify a random string, you <emphasis>must</emphasis> include it in double quotes, and - htmlspecialchars the whole value. + <function>htmlspecialchars</function> the whole value. </para> </listitem> <listitem> @@ -141,12 +141,13 @@ </programlisting> When the user clicks somewhere on the image, the accompanying form will be transmitted to the server with two additional variables: - foo.x and foo.y. + <varname>foo.x</varname> and <varname>foo.y</varname>. </para> <para> - Because $foo.x and $foo.y are invalid variable names in PHP, they are - automagically converted to $foo_x and $foo_y. That is, the periods - are replaced with underscores. + Because <varname>$foo.x</varname> and <varname>$foo.y</varname> are + invalid variable names in PHP, they are automagically converted to + <varname>$foo_x</varname> and <varname>$foo_y</varname>. That is, the + periods are replaced with underscores. </para> </answer> </qandaentry>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php