cvs: phpdoc-ro /reference/var/functions serialize.xml
| From: | Simion Onea | Date: | Wed, 15 Apr 2009 14:05:26 +0000 |
| Subject: | cvs: phpdoc-ro /reference/var/functions serialize.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-673@lists.php.net to get a copy of this message | ||
simionea Wed Apr 15 14:05:26 2009 UTC
Modified files:
/phpdoc-ro/reference/var/functions serialize.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/serialize.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-ro/reference/var/functions/serialize.xml
diff -u phpdoc-ro/reference/var/functions/serialize.xml:1.6
phpdoc-ro/reference/var/functions/serialize.xml:1.7
--- phpdoc-ro/reference/var/functions/serialize.xml:1.6 Sun Jan 25 10:31:47 2009
+++ phpdoc-ro/reference/var/functions/serialize.xml Wed Apr 15 14:05:26 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.6 $ -->
-<!-- EN-Revision: 1.17 Maintainer: simionea Status: ready -->
+<!-- $Revision: 1.7 $ -->
+<!-- EN-Revision: 1.18 Maintainer: simionea Status: ready -->
<!-- CREDITS: adiju -->
<refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -88,10 +88,10 @@
$stmt = odbc_prepare($conn,
"UPDATE sessions SET data = ? WHERE id = ?");
$sqldata = array (serialize($session_data), $_SERVER['PHP_AUTH_USER']);
-if (!odbc_execute($stmt, &$sqldata)) {
+if (!odbc_execute($stmt, $sqldata)) {
$stmt = odbc_prepare($conn,
"INSERT INTO sessions (id, data) VALUES(?, ?)");
- if (!odbc_execute($stmt, &$sqldata)) {
+ if (!odbc_execute($stmt, $sqldata)) {
/* Ceva nu este în regulÄ.. */
}
}