in reply to Re: CSV files: Searching, manipulating data, appending and saving.
in thread CSV files: Searching, manipulating data, appending and saving.
*puts on dunce cap* Where did $baz come from? Was it being assigned in the previous line after the WHERE statement?$sth = $dbh->prepare("SELECT foo, bar FROM table WHERE baz=?"); $sth->execute( $baz ); while ( @row = $sth->fetchrow_array ) { print "@row\n"; }
**I should mention that I'm looking at the DBI example you gave, although that was probably already obvious.**
Thanks again!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CSV files: Searching, manipulating data, appending and saving.
by SpacemanSpiff (Sexton) on Oct 13, 2005 at 06:09 UTC | |
|
Re^3: CSV files: Searching, manipulating data, appending and saving.
by SpacemanSpiff (Sexton) on Oct 14, 2005 at 01:50 UTC | |
by GrandFather (Saint) on Oct 20, 2005 at 10:10 UTC |