Help for this page

Select Code to Download


  1. or download this
    TABLE_STUFF
    ~~~~~~~~~~~~~~~~~~~~
    ID (pk)
    name
    parent_ID
    
  2. or download this
    TABLE_STUFF
    ~~~~~~~~~~~~~~~~~~~~
    ...
    rght
    depth
    lineage
    
  3. or download this
    sub rebuild_tree
    {
    ...
        $sth2->execute($left, $right, $dir_ID);
        return $right + 1;
    }
    
  4. or download this
    use vars qw($sth);
    ....
    
    # And then in the function
    $sth || = $dbh->prepare($sql);
    
  5. or download this
    DBD::mysql::st fetchrow_arrayref failed: fetch() without execute()