It works, for the most part. Another productive Friday afternoon at work. Why don't you give it a try?
(Note: Still a few things to add, e.g. pagination).
After a couple of failed attempts, was finally able to try the Vietnamese sandwich at Baoguette Cafe on St. Mark's Place. Must've been the early break for lunch, because when we left the tiny place was packed.
The eponymous sandwich was tasty, somewhat saltier than I expected. At $5.75, not a bad deal for lunch, but purists would probably have something to say about the taste and price. (The equivalent price at Vietnamese restaurants in Chinatown is roughly $3-$4).
Slightly modified version using files to store beer glass descriptions instead of hardcoded arrays. Here it is.
Notes: Main calling program stayed the same except for a different PHP include file, in this case it was "read_file.php" which read each line in the text file "beerglass_info.txt" (semi-colon delimited), exploded the fields into a temp array, and stored that into the beer glass multi-dimensional array.
After that rather disappointing lunch (see previous post), and a tough day learning the ins and outs of PHP, time for some soothing afternoon tea in a relaxed environment - where else but Cha-An tea house? I had the afternoon tea set (shown above) accompanied by a pot of my favorite genmaicha. Not only filling but makes all your PHP cares go away.
After some initial confusion and adjustment to thinking in PHP terms, here is the result. The multi-dimensional array contents are defined in the file "_beerglass.php".
Yes, that seems like a lot of food - I got the lunch special (udon and curry rice) at Udon West on St. Mark's Place, despite not being especially fond of udon (prefer the thinner soba noodles) nor was I particularly hungry. Guess I just wanted to try the Japanese curry which sadly feel short of expectations which were admittedly quite high since I'm a regular at GoGo Curry on W38th St.
The Madrid "Ultimate Spanish Cuisine" Food Tour
-
Orejas "These are delicious!" exclaimed J, chewing on the *orejas* (pigs
ears) laid out on our table at Casa Toni. I assented, preferring the more
succin...