| Sign In/My Account | View Cart |
| Article: |
Relational Modeling of Biological Data: Trees and Graphs | |
| Subject: | fetch() without execute() error in Example 1 | |
| Date: | 2003-06-15 11:49:37 | |
| From: | anonymous2 | |
|
Response to: fetch() without execute() error in Example 1
|
||
|
Aaron generously offered a solution via email:
|
||
Showing messages 1 through 2 of 2.
$children statement needs an additional clause, as follows:
my $children = $dbh->prepare("SELECT id
FROM taxon
WHERE parent_id = ?
AND id <> parent_id");