display php html head meta http-equiv Content-Type content text html c

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
display.php
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
</head>
<?php
include_once("../conf.php");
$request = mysql_query("select * from `books`");
?>
<table align="center" width="90%" cellpadding="0" cellspacing="0" border="1">
<tr class="table_header">
<td>E</td>
<td width="10%">ID Raqami</td>
<td>Reg data</td>
<td>Nomi</td>
<td>Yo'nalish</td>
<td width="10%">Avtori</td>
<td>Shahar</td>
<td>E-manzili</td>
</tr>
<?php
while ($rows = mysql_fetch_array($request))
{
echo "<tr>";
echo "<td><a href=edit.php?id={$rows['id']}><img src=icons/b_edit.png border=0></a>";
echo "<td>".$rows["id_books"];
echo "<td>".$rows["data_reg_bk"];
echo "<td>".$rows["name"];
echo "<td>".$rows["direction"];
echo "<td>".$rows["author"];
echo "<td>".$rows["cityname"];
echo "<td>".$rows["ebook_address"];
}
?>
</table>
</html>