What I am trying to do with $ncount is reset it to 0 each time...You need to separate your count from your sql statement. And you need to prepare, execute, and fetch from your sql statement (you can do all at once, see the selectrow_array method in the DBI docs).
In reply to Re: Re: Re: Reading from databse and writing to file.
by runrig
in thread Reading from databse and writing to file.
by SQLMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |