<form action="test.php" method="get">
<input type="text" name="value" placeholder="Search Anything Here..." style="font-size:18px; margin-top: -45px; margin-left:280px; vertical-align:middle; width:470px;">
<input type="submit" name="search" value="Search Now" style="font-size:16px;margin-top: -45px; vertical-align:middle;"> </h1>
<body>
</form>
<hr>
<?php
$connect = mysqli_connect("localhost","root","muarem1");
mysqli_select_db($connect,"my_db");
if(isset($_GET['search'])){
$search_value = $_GET['value'];
$query = "select * from sites where site_keywords like '%$search_value%'";
$run = mysqli_query($connect,$query);
while($row = mysqli_fetch_array($run)){
$title = $row['site_title'];
$link = $row['site_link'];
$desc = $row['site_desc'];
echo "<h1>$title</h1><a href='$link'>$link</a><p>$desc</p>";
}
}
?>
</body>
</html>
Znachi kogato cikna Search i poleto za pisane e prazno da mi izpishe neshto ot sorta molq napishete neshto
blagodarq 
<input type="text" name="value" placeholder="Search Anything Here..." style="font-size:18px; margin-top: -45px; margin-left:280px; vertical-align:middle; width:470px;">
<input type="submit" name="search" value="Search Now" style="font-size:16px;margin-top: -45px; vertical-align:middle;"> </h1>
<body>
</form>
<hr>
<?php
$connect = mysqli_connect("localhost","root","muarem1");
mysqli_select_db($connect,"my_db");
if(isset($_GET['search'])){
$search_value = $_GET['value'];
$query = "select * from sites where site_keywords like '%$search_value%'";
$run = mysqli_query($connect,$query);
while($row = mysqli_fetch_array($run)){
$title = $row['site_title'];
$link = $row['site_link'];
$desc = $row['site_desc'];
echo "<h1>$title</h1><a href='$link'>$link</a><p>$desc</p>";
}
}
?>
</body>
</html>
Znachi kogato cikna Search i poleto za pisane e prazno da mi izpishe neshto ot sorta molq napishete neshto

