in reply to Re: if (empty record set)
in thread if (empty record set)
it varies from system to system .. but is another way to accomplish what you wantmy $query = "SELECT * FROM myTable"; $sth = $dbh->prepare($query); if(!$sth->execute()) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: if (empty record set)
by Lachesis (Friar) on Jun 26, 2003 at 15:35 UTC | |
by Grygonos (Chaplain) on Jun 26, 2003 at 16:24 UTC |