Reply to Re: req: simple traditional lookup table entry

Your name:

Reply:


Posted by Jerry Stuckle on 12/20/06 03:09

larry@portcommodore.com wrote:
> Ok I am re-coding our apps in PHP and am looking for ways to make parts
> easily updateable, One of the challenges in my field (non-rpofit) are
> various lookup tables (for incomes etc).
>
> An example table would be something like a rate lookup, where you
> travel down the family size column and when you reach the right income
> you look for the rate. An example here:
>
> RATE - FAM2 -FAM3 - FAM4 - FAM5
> 100 - 1200 - 1300 - 1375 - 1380
> 123 - 1220 - 1320 - 1387 - 1392
> 143 - 1242 - 1342 - 1400 - 1412
>
> So if it were a family of 3 with 1322 the rate would be 123.
>
> To make this into a DB for lookup is a cinch, but for someone to
> enter/update this compact table into a lookup DB is a pain.
>
> Is there any libraries out there already to read a text file like the
> above (more likely CSV) or a similarly formatted spreadsheet, or one
> that presents a table entry method to expidite the entry of a table
> like this?
>
> Larry
>

Larry,

Check out fgetcsv(). It does wonders with csv files.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация