pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: joseph@asti.dost.gov.ph
To: pgsql-sql@postgresql.org
Subject: how do i provide array parameters for my functions in php
Date: Thu, 13 Jun 2002 23:59:12 +0800 (PHT)
Message-ID: <1023983952.3d08c15005fc2@www.asti.dost.gov.ph> (raw)

i have just finished creating a function that has an array of integers as its 
parameter.  what i would like to know is how do i declare/execute my function 
in php.  i tried several syntax
e.g.
$arrvalue - an array of integers

$strquery = "select functionname($arrvalue)";
$strquery = "select functionname($arrvalue[])";

what is the right syntax 
TIA
joseph



view thread (2+ messages)  latest in thread

Message-ID: <1023983952.3d08c15005fc2@www.asti.dost.gov.ph>
Permalink:  ../1023983952.3d08c15005fc2@www.asti.dost.gov.ph/
Also on:    postgresql.org/message-id/1023983952.3d08c15005fc2@www.asti.dost.gov.ph

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: joseph@asti.dost.gov.ph
  Subject: Re: how do i provide array parameters for my functions in php
  In-Reply-To: <1023983952.3d08c15005fc2@www.asti.dost.gov.ph>

* 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