Hi, thanks for replying and hopefully I have the info you need, although there maybe a better code that will be more suitable for this problem like php. I am trying to get some php code or other code to count certain values in a text file and display them on a webpage. The text file is for a shopping cart and stores item details such as what catogory the item is in (1st coloum).
One of my requirments is to display on my home page the number of items in a catogory. The value can be seen in the first coloum, therefore currently there is 1 item in each of the 4 catogories and 2 item in cat "1". Therefore is it possible to display on the front page the number of items in catogoy "1"? and then i can alter for 2, 3, 4, etc
Therefore there are 2 items in catogory "1"
Thanks in advance,