<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Ola pessoal, como faco para verificar se veio dados do banco ou nao?<br><br>faco assim:<br><br>$sql="Select * from teste where datahora="2006-12-11 00";<br><br>$sth = $dbh-&gt;prepare($sql) || die $DBI::errstr;<br>$sth-&gt;execute || die $DBI::errstr;<br>$sth-&gt;finish();<br><br><br><br><br>Quero verificar se a consulta me retornou resultado ou nao.. <br><br>Alguem pde me ajudar?/<br><br>Obrigada<br><br>:D<br></div></div><br>
                <hr size=1> 
Yahoo! Search<br> 
Música para ver e ouvir: <a href="http://us.rd.yahoo.com/mail/br/tagline/search/video/*http://br.search.yahoo.com/search/video?p=james+blunt&ei=UTF-8&cv=g&x=wrt&vm=r&fr=intl-mail-br-b">You're Beautiful, do James Blunt</a></body></html>