in reply to If Problem!!!
Hugo$sth->execute() || die $sth->errstr; if ($sth->rows >= 0) { while ($pointer = $sth->fetchrow_hashref) { $ag = $pointer->{'name'}; $ag_save = $ag; if($ag){ print "<OPTION VALUE=$ag_save>$ag_save</OPTION>"; } } } else { print "<OPTION>No Ag were found</OPTION>"; }
|
|---|