[nycphp-talk] Polls w/ only text ...
jon baer
jonbaer at jonbaer.net
Mon Oct 6 17:21:23 EDT 2003
before i started coding just thought id ask ...
i have to do a survey which consists of questions that don't pertain to a
static number of questions but rather like 30 text-based questions ... in
order to get @ least statistics im thinking to do regex w/ an array/key tree
+ counter ... something like:
if (array_key_exists($list, $text)) {
$list[$text]++;
} else {
$list[] = $text;
}
id rather get the stats more accurate if its possible + was thinking of what
other ways this could be accomplished easily in PHP. any insights on
textual statitics w/ forms?
- jon
pgp key: http://www.jonbaer.net/jonbaer.asc
fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47
More information about the talk
mailing list