Location: PHPKode > projects > Network Asset Management Archive > nama/iaso/comments.php
<?php
$REMOTE_ADDR = $_SERVER["REMOTE_ADDR"];
include "../connect.php";
if ($SERIAL=="") {
   $stmtc = "select COMMENTS from arp_table where IP_ADDRESS = '$REMOTE_ADDR'";
} else
{
   $stmtc = "select COMMENTS from arp_table where SERIAL = '$SERIAL'";
}
$sthc = ibase_query($dbh,$stmtc);
$rowc = ibase_fetch_object($sthc, IBASE_TEXT);

print '<br>Comments:<BR><textarea name="COMMENTS[]" rows="10" COLS="60">';
if ($rowc->COMMENTS != '') {
echo $rowc->COMMENTS;
}
 print '</textarea>';
?>

Return current item: Network Asset Management Archive