Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3C362476DF2 for ; Thu, 13 Jun 2002 12:07:04 -0400 (EDT) Received: from mclaren.asti.dost.gov.ph (mclaren.asti.dost.gov.ph [202.90.128.9]) by postgresql.org (Postfix) with ESMTP id 1DEF8476E02 for ; Thu, 13 Jun 2002 12:00:58 -0400 (EDT) Received: by mclaren.asti.dost.gov.ph (Postfix, from userid 65534) id 2C4C559851; Thu, 13 Jun 2002 23:59:12 +0800 (PHT) To: pgsql-sql@postgresql.org Subject: how do i provide array parameters for my functions in php Message-ID: <1023983952.3d08c15005fc2@www.asti.dost.gov.ph> Date: Thu, 13 Jun 2002 23:59:12 +0800 (PHT) From: joseph@asti.dost.gov.ph MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 202.90.128.5 X-Archive-Number: 200206/175 X-Sequence-Number: 8140 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