pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mitch@venux.net>
To: Christian Marschalek <cm@chello.at>
To: [PHP] PostgreSQL <pgsql-php@postgresql.org>
Subject: Re: Variable question...
Date: Wed, 9 May 2001 20:40:08 -0400
Message-ID: <001401c0d8e9$c397f7f0$1251000a@windows> (raw)
References: <000501c0d8e8$f6ab2f00$0200a8c0@server>

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
> 




view thread (6+ messages)  latest in thread

Message-ID: <001401c0d8e9$c397f7f0$1251000a@windows>
Permalink:  ../001401c0d8e9$c397f7f0$1251000a@windows/
Also on:    postgresql.org/message-id/001401c0d8e9$c397f7f0$1251000a@windows

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mitch@venux.net, cm@chello.at
  Subject: Re: Variable question...
  In-Reply-To: <001401c0d8e9$c397f7f0$1251000a@windows>
  References: <000501c0d8e8$f6ab2f00$0200a8c0@server> <001401c0d8e9$c397f7f0$1251000a@windows>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox