<?php
$dbhost = "127.0.0.1";
$dbuser = "sa";
$dbpasswd="pass";
$host = "127.0.0.1";
////////////////////////////
$alogin = $dbuser;
$apass = $dbpasswd;
$db = 'dbname';
$msconnect=mssql_connect($host,$alogin,$apass);
$msdb=mssql_select_db($db,$msconnect);
$ip = $host;
/////////////////////////////
$result = mssql_query("SELECT memb___id, memb__pwd, mail_addr FROM MEMB_INFO LIMIT 1");
if($result && is_resourse($result) && mssql_num_rows($result)){
list($login,$pass,$mail) = mssql_fetch_row($result);
?>
<table
width=181 border=0>
<tr>
<td valign=top align=left><?php echo "$login"; ?></td>
<td valign=top align=left><?php echo "$pass"; ?></td>
<td valign=top align=left><?php echo "$email"; ?> </td>
</tr></table>
<?php
};
?>