cvs: phpdoc-pl /reference/mysql/functions mysql-escape-string.xml
| From: | Slawomir Pucia | Date: | Fri, 21 Jun 2002 23:10:20 +0000 |
| Subject: | cvs: phpdoc-pl /reference/mysql/functions mysql-escape-string.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969346880@lists.php.net to get a copy of this message | ||
slawek Fri Jun 21 19:10:20 2002 EDT
Modified files:
/phpdoc-pl/reference/mysql/functions mysql-escape-string.xml
Log:
Updated to EN 1.6
Index: phpdoc-pl/reference/mysql/functions/mysql-escape-string.xml
diff -u phpdoc-pl/reference/mysql/functions/mysql-escape-string.xml:1.4
phpdoc-pl/reference/mysql/functions/mysql-escape-string.xml:1.5
--- phpdoc-pl/reference/mysql/functions/mysql-escape-string.xml:1.4 Sat May 4 16:30:51 2002
+++ phpdoc-pl/reference/mysql/functions/mysql-escape-string.xml Fri Jun 21 19:10:20 2002
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.3 Maintainer: slawek Status: ready -->
-<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.6 Maintainer: slawek Status: ready -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.mysql-escape-string">
<refnamediv>
<refname>mysql_escape_string</refname>
@@ -26,20 +26,19 @@
</simpara>
<simpara>
Funkcja ta dzia³a identycznie jak <function>mysql_real_escape_string</function>,
- z tym wyj±tkiem, ¿e mysql_real_escape_string() pobiera identyfikator
+ z tym wyj±tkiem, ¿e <function>mysql_real_escape_string</function> pobiera
identyfikator
po³±czenia i wstawia znaki unikowe zgodnie z bie¿±cym zestawem znaków.
<function>mysql_escape_string</function> nie pobiera identyfikatora
po³±czenia i nie bierze pod uwagê bie¿±cego zestawu znaków.
</simpara>
</note>
<example>
- <title>przyk³ad u¿ycia
<function>mysql_real_escape_string</function></title>
+ <title>przyk³ad u¿ycia
<function>mysql_escape_string</function></title>
<programlisting role="php">
<![CDATA[
<?php
-$link = mysql_connect('localhost', 'uzytkownik', 'haslo');
$item = "Zak's Laptop";
-$escaped_item = mysql_real_escape_string($item);
+$escaped_item = mysql_escape_string($item);
printf ("£añcuch ze znakami unikowymi: %s\n", $escaped_item);
?>
]]>