| Current Path : /var/www/cesa.co.za/members/saaceadmin/ |
| Current File : /var/www/cesa.co.za/members/saaceadmin/ADdisplayTest.php4 |
<html>
<head>
<title>Annual Declaration Admin page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC">
<?php include( 'inc/menu.inc' ); ?>
</td>
</tr>
<tr>
<td>
<h3><font face="sans-serif" color="#666666">Display Records:</font><font face="sans-serif">
</font></h3>
<p>
<?php
include("../inc/conf.inc");
mysql_connect("$server","$user","$pass") or die("Unable to connect to SQL server");
mysql_select_db("$db") or die("Unable to select database");
// ** ADEC_TBLMEMBERFIRMS
// **********************
$SelectOfficeID = 348;
$query22 = "SELECT OfficeID, Prev_OfficeID FROM ADec_tblMemberFirmOffices WHERE Prev_OfficeID = '$SelectOfficeID'";
$result22 = mysql_query($query22) or die("Select of id Failed");
$rs22 = mysql_fetch_array($result22);
$NewOfficeID = $rs22['OfficeID'];
Echo "New Office ID: ".$NewOfficeID;
?>
</td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><?php include( 'inc/footer.inc' ); ?></td>
</tr>
</table>
</body>
</html>