MYSQL

From: Date: Wed, 22 Dec 2004 04:42:21 +0000
Subject: MYSQL
Groups: php.db 
Request: Send a blank email to php-db+get-37785@lists.php.net to get a copy of this message
hi to all, may somebody guide me on the following: I want to retrieve data from MYSQL and then want that PHP do calculation - substract a particular field from its previous row. i.e. suppose i have two field named DATE, STOCK and have 10 rows. Now i want that STOCK on the 10th row should be substracted from 9th and so on. May pls. help me. with best wishes balwant

« previous php.db (#37785) next »