[PHP] Re: Problems with a simple While-If condition

2002-11-26 Thread Jason Romero
try using the extract command instead of the array reference ie: ? while ($row = mysql_fetch_array($res)) { extract($row); echotrtdID Profissional/td; echotd$id/td/tr; ? instead of : while ($row = mysql_fetch_array($res)) { ? ? echotrtdID Profissional/td; echotd.$row['id']./td/tr; Jason

[PHP] RE: Problems with a simple While-If condition With the statement

2002-11-26 Thread Rodrigo de Oliveira
? include db_dados.php; ? ? $sql = SELECT * FROM tb_tao WHERE area='$area'and status=1; $res = @mysql_query($sql,$id) ? ? echo table width='100%' height='100%' border='0' align='center' ? ? $rodrigo=mysql_fetch_array($res); if($rodrigo=false){ echo trtddiv align='center'Nenhum profissional