Taxi Driver <> wrote:
> It all works great until I added a second variable (ts) to the first
> MYSQL Select statement. Then I get multiple valuse for ts instead of
> one.
> ---------------
> #!/usr/bin/perl
> use DBI;
most people stop looking now, because you forgot use strict; and use
warnings;
Also, it looks like you are attempting to program a join in Perl, instead
of using the database to do this. Try to give an exact description of your
problem based on the database table(s), I am sure it can be done in SQL.
Finally, *don't* top post.
--
John Small Perl scripts:
http://johnbokma.com/perl/
Perl programmer available:
http://castleamber.com/
Happy Customers:
http://castleamber.com/testimonials.html