Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4A0h2A94669 for ; Wed, 9 May 2001 20:43:02 -0400 (EDT) (envelope-from mitch@venux.net) Received: from windows (net-216-93-124-123.hcv.com [216.93.124.123]) by icebox.venux.net (Postfix) with SMTP id E955726202; Wed, 9 May 2001 20:59:33 -0400 (EDT) Message-ID: <001401c0d8e9$c397f7f0$1251000a@windows> From: "Mitch Vincent" To: "Christian Marschalek" , "[PHP] PostgreSQL" References: <000501c0d8e8$f6ab2f00$0200a8c0@server> Subject: Re: Variable question... Date: Wed, 9 May 2001 20:40:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200105/50 X-Sequence-Number: 359 Try -- $result = pg_exec($c1,"SELECT o_plz FROM ort_tabelle WHERE o_plz =". $HTTP_SESSION_VARS["user_tabelleXu_o_plz"]); > And I have to do the following instead? > > $plz = $HTTP_SESSION_VARS['user_tabelleXu_o_plz']; > $result = query_trans($c1, "SELECT o_plz FROM ort_tabelle WHERE o_plz = > $plz"); > > Tia again Chris > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >