From owner-freebsd-questions@FreeBSD.ORG Sun Feb 29 05:01:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88BD316A4CE for ; Sun, 29 Feb 2004 05:01:36 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 284FA43D2D for ; Sun, 29 Feb 2004 05:01:36 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.119]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040229130135.WOPS25917.mta9.adelphia.net@barbish> for ; Sun, 29 Feb 2004 08:01:35 -0500 From: "fbsd_user" To: "freebsd-questions@FreeBSD. ORG" Date: Sun, 29 Feb 2004 08:01:35 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Counter in php script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 13:01:37 -0000 Need to set the initial value for an counter and save it, then bump the saved value by one every time the php script is executed. This must be a very basic function, but not being an php script coder my self this is all new to my. Can anyone provide sample code I can use to do this?