File : entchkidstd.php. ID : 1705
Skin : Default | Sons-of-obsidian | Sunburst | Highlighter | Frame
<?
require("connect.php");
if ($connect and $fidstd) {
  $sql="select * from entstd,enttype ";
  $sql=$sql."where entstd.idtype=enttype.idtype ";
  $sql=$sql."and entstd.idstd=$fidstd";    
  $result = mysql_db_query($db,$sql);
  $cnt= mysql_num_rows($result);
  if ($cnt > 0) {  
    while ($object = mysql_fetch_object($result)) {
      echo $object->idstd."  ".$object->ename."  ".$object->descp."<br>";
    }
  } else {
    echo "not found in entstd or enttype";
  }
} else { echo "error"; }
?>