$sth = $dbh->prepare("SELECT id,name FROM category WHERE parent = ' +$id'"); $sth->execute or die $dbh->errstr;