Mailing List Archive



Back to the month index Back to the list index

Jason Armstrong (jason@datrix.co.za)
Fri, 14 Nov 1997 06:48:51 +0200 (SAT)


Date: Fri, 14 Nov 1997 06:48:51 +0200 (SAT)
From: Jason Armstrong <jason@datrix.co.za>
Subject: Re: "_seq" anyone know how to make it work?
Message-ID: <Pine.LNX.3.95.971114064512.5783A-100000@shark.datrix.co.za>

On Thu, 13 Nov 1997, Ron Simpson wrote:

> I'm trying to use the sequence function.

The format (in Lite) is normally:

        msqlQuery($sock, "select _seq from TABLENAME");
        $res = msqlStoreResult();
        $row = msqlFetchRow($res);
        $var = (int)$row[0];
        msqlFreeResult($res);

What exactly are you trying that does not work?

        Jason Armstrong
        jason@datrix.co.za