01.
<?php
02.
include
(
"connections/connections.php"
);
03.
connect_VOC();
04.
include
(
"lib/config.inc.php"
);
05.
?>
06.
<html>
07.
<head>
08.
<meta name=
"keywords"
content=
""
/>
09.
<meta name=
"description"
content=
""
/>
10.
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=windows-874"
>
11.
<title>Detial</title>
12.
<?
13.
14.
$sql
=
"select complaint_no FROM Complaint_Operation; "
;
15.
$result
= mssql_query(
$sql
);
16.
17.
{
18.
echo
"<table border=1 cellpadding=1>"
;
19.
while
(
$data
=mssql_fetch_array(
$result
)){
20.
echo
"<tr>"
;
21.
echo
"<td>{$data[complaint_no]}</td>"
;
22.
echo
"<a href=\"z_rpt_5.php\">$data"
;
23.
24.
25.
echo
"</tr>"
;
26.
}
27.
echo
"</table>"
;
28.
29.
}
30.
31.
?>