in reply to Adding an entry count for each DB

If it's all in one array, just print the number of items in the array out. $#catagories, for your purposes.

In the second part of your code, why do you split everything into an array, then copy each list item to a scalar? Why not just leave them in the array, or split them into variables?

($time, $name, $email, $phone, $subject, $data, $time2, $pictureurl, $ +password, $priceline) = split(/=/, $_);

Hope this helps.

John J Reiser
newrisedesigns.com