From 60cd3305e16b79a3518b2e062401f4372fc9809b Mon Sep 17 00:00:00 2001 From: wlx Date: Sat, 17 Nov 2012 03:22:19 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=B7=B2=E4=BD=9C=E5=BA=9F?= =?UTF-8?q?=E7=9A=84=E5=87=BD=E6=95=B0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/proftp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/proftp.php b/tools/proftp.php index f4fcbf27..9616ae22 100644 --- a/tools/proftp.php +++ b/tools/proftp.php @@ -27,8 +27,8 @@ $sql.=" and dataorder.onlineappid=".$onlineappid; else if ($offlineappid>0) $sql.=" and dataorder.offlineappid=".$offlineappid; - $result = pg_exec($link, $sql); - $numrows = pg_numrows($result); + $result = pg_query($link, $sql); + $numrows = pg_num_rows($result); // Loop on rows in the result set. $content='';