cvs: phpdoc-da /reference/strings/functions nl2br.xml

From: Date: Sun, 27 Jun 2004 17:50:51 +0000
Subject: cvs: phpdoc-da /reference/strings/functions nl2br.xml
Groups: php.doc.da 
Request: Send a blank email to doc-da+get-27@lists.php.net to get a copy of this message
tomsommer Sun Jun 27 13:50:51 2004 EDT Added files: /phpdoc-da/reference/strings/functions nl2br.xml Log: Initial translation http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/nl2br.xml?r=1.1&p=1 Index: phpdoc-da/reference/strings/functions/nl2br.xml +++ phpdoc-da/reference/strings/functions/nl2br.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: tomsommer Status: ready --> <refentry id="function.nl2br"> <refnamediv> <refname>nl2br</refname> <refpurpose> Indsætter HTML linieskift før alle nye linier i en streng </refpurpose> </refnamediv> <refsect1> <title>Beskrivelse</title> <methodsynopsis> <type>string</type><methodname>nl2br</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> <para> Returnere <parameter>string</parameter> med '&lt;br /&gt;' indsat før alle nye linier. </para> <note> <para> Fra PHP 4.0.5, overholder <function>nl2br</function> XHTML standarden. Alle versioner før 4.0.5 vil returnere <parameter>string</parameter> med '&lt;br&gt;' indsat før nye linier, i stedet for '&lt;br /&gt;'. </para> </note> <para> <example> <title>Brug af <function>nl2br</function></title> <programlisting role="php"> <![CDATA[ <?php echo nl2br("foo er ikke\n bar"); ?> ]]> </programlisting> <para> Dette vil udskrive : </para> <screen> <![CDATA[ foo er ikke<br /> bar ]]> </screen> </example> </para> <para> Se også <function>htmlspecialchars</function>, <function>htmlentities</function>, <function>wordwrap</function>, og <function>str_replace</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.da (#27) next »