Also, if someone where to add a column or change the order of the columns your code could break even if you did not do a select * . Again it all depends on how you wrote your code.$colNames = $sth->{'NAME'}; $nColumns = $sth->{'NUM_OF_FIELDS'};
| Plankton: 1% Evil, 99% Hot Gas. |
In reply to Re: Re: selecting again from a mysql database
by Plankton
in thread selecting again from a mysql database
by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |