CSS
2
Вклад в тег
<?php
$sql = mysql_query ("SELECT * FROM `users` WHERE username = `Петя` " );
$row = mysql_fetch_array($sql);
if ($row['admin'] == 1) {
echo "Your are welcome!";
} else {
echo "You don't see that";
}
?>
Как поиску добавить кнопку с лупой?
<div class="search">
<form action="search-handler.php" method="post">
<input id="o_keywords" type="text" size="40" name="search">
<input name="submit" type="submit">
</form>
</div>
input[type=submit] {
width: 30px;
height: 30px;
background: url("img/лупа.jpg") center center;
}