Re: Category question
| From: | Martin Jansen | Date: | Sun, 18 May 2003 12:33:47 +0000 |
| Subject: | Re: Category question | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16440@lists.php.net to get a copy of this message | ||
On Sun May 18, 2003 at 12:5722PM +0100, Davey wrote:
> I just noticed this in the source for pearweb (pear-database.php)
>
> $sql = "UPDATE categories SET npackages = npackages + 1
> WHERE id = $category";
>
> Seems to me theres already a categories table, I wonder if, rather than
> adding another table, we can change that one? it seems that the existing
> table is only used for counting how many packages are in any given
> category...
The table is used to store the different categories and their relation
towards each other.
Btw: Your quoting style sucks badly.
--
- Martin Martin Jansen
http://martinjansen.com/