in reply to CGI Table Column Selection
while (my @row = $sth->fetchrow_array) { if($row ne 'NA'){
this is just plain wrong. @row is an array. there is no $row. why aren't you using strict and warnings? this shouldn't even compile.
you could make the database do the work and add a bunch of "where field != "NA" to your query. otherwise, you'll have to parse every field returned somehow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI Table Column Selection
by devslashneil (Friar) on Jul 09, 2003 at 04:00 UTC |