+ 24

How to make search box?

I am trying to make a website but I don't know how to add search box in it? please help me.

1st Oct 2017, 2:17 AM
Chinthana Kavinda
Chinthana Kavinda - avatar
3 Antworten
+ 22
Thanks!😊
1st Oct 2017, 12:38 PM
Chinthana Kavinda
Chinthana Kavinda - avatar
+ 2
If you used php then follow below steps: *HTML* <form action="search.php" method="GET">     <input type="text" name="query" />     <input type="submit" value="Search" /> </form> *search.php* <?php $query = $_GET['query']; $execute = mysql_query("SELECT * FROM table_name WHERE 'search_parameter' LIKE '%".$query."%'"); $results = mysql_fetch_assoc($execute); ?>
1st Oct 2017, 8:46 AM
Ankit Agrawal
Ankit Agrawal - avatar
+ 2
Try using HTML.
13th Oct 2017, 9:58 AM
1604064_Sharif
1604064_Sharif - avatar