count; ++$i) { $id = sprintf("%d",$i); if (!$wdb->exists($id)) continue; $wine = $wdb->get($id); if (!$wine->country) print "i=$i"; ++$country[$wine->country]; ++$year[$wine->year]; ++$buy[$wine->buy]; ++$color[$wine->color]; ++$store[$wine->store]; if ($wine->price < 8) ++$price[8]; elseif ($wine->price < 12) ++$price[12]; elseif ($wine->price < 18) ++$price[18]; else ++$price[100]; ++$count; } $wdb->close(); ?>
See the last 10 entries.
Find a wine:

Country

Vintage

Buy Again?

Color

Store

Price

I was part of the Second Floor Wine Tasting Group.
I maintain a wine journal.
Created by Jason Rennie.