Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3DCB8475EF0 for ; Wed, 1 May 2002 12:39:00 -0400 (EDT) Received: from squire.barchord.com (squire.barchord.com [216.194.67.18]) by postgresql.org (Postfix) with ESMTP id 9A981475D4B for ; Wed, 1 May 2002 12:38:58 -0400 (EDT) Received: from jester (nat.inquent.com [216.6.14.45]) by squire.barchord.com (Postfix) with SMTP id 78C8DB3; Wed, 1 May 2002 12:39:03 -0400 (EDT) Message-ID: <215c01c1f12e$8ad614c0$ad02000a@jester> From: "Rod Taylor" To: , "P. Jourdan" References: <5.1.0.14.2.20020501120049.00a82388@mail.host45.com> Subject: Re: sql commands Date: Wed, 1 May 2002 12:37:53 -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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200205/2 X-Sequence-Number: 1134 sqlconnect / sqlget, etc. must be an extension that the original author used. It's not standard with php, but is a good idea. I'm guessing the SELECT is an sql statement, not a function correct? What are the errors returned by the script when it runs? -- Rod ----- Original Message ----- From: "P. Jourdan" To: Sent: Wednesday, May 01, 2002 12:08 PM Subject: [PHP] sql commands > I am trying to debug a pg database that was set up under pg 7.0.3 and am > now trying to run it for testing on a local FreeBSD machine under pgsql > 7.2.1_1 and php4.1.2 module and apache1.3 something. All is set up > correctly, but the rebuilt database is giving some problems. > I note that there are sql commands in the php files: sqlconnect, sqlget, > select - I don't quite understand how these commands fit in with php. Has > something changed in the newer version of php4? > I do not find any reference to the sql commands in the handbook. > I would much appreciate some help on this as I am quite new to php. > Philip Jourdan > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >