Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php require_once('Connections/kitchen_recepies.php'); ?>
<?php
mysql_select_db($database_kitchen_recepies, $kitchen_recepies);
$query_rsTopics = "SELECT * FROM kit_topic_top ORDER BY title_top ASC";
$rsTopics = mysql_query($query_rsTopics, $kitchen_recepies) or die(mysql_error());
$row_rsTopics = mysql_fetch_assoc($rsTopics);
$totalRows_rsTopics = mysql_num_rows($rsTopics);
$SearchString_rsSearchResults = "-1";
if (isset($_GET['SearchString'])) {
$SearchString_rsSearchResults = (get_magic_quotes_gpc()) ? $_GET['SearchString'] : addslashes($_GET['SearchString']);
}
mysql_select_db($database_kitchen_recepies, $kitchen_recepies);
$query_rsSearchResults = sprintf("SELECT * FROM kit_article_art WHERE title_art like '%%%s%%' OR products_art like '%%%s%%' ORDER BY date_art DESC", $SearchString_rsSearchResults,$SearchString_rsSearchResults);
$rsSearchResults = mysql_query($query_rsSearchResults, $kitchen_recepies) or die(mysql_error());
$row_rsSearchResults = mysql_fetch_assoc($rsSearchResults);
$totalRows_rsSearchResults = mysql_num_rows($rsSearchResults);
?>
<p>Search result for: <?php echo $_GET['SearchString']; ?></p>
<table width="500" border="0" cellpadding="0" cellspacing="0">
<?php do { ?>
<tr>
<td>- </a><?php echo $row_rsSearchResults['title_art']; ?> </td>
<td><div align="right">Публикувана: <?php echo $row_rsSearchResults['date_art']; ?> </div></td>
</tr>
<?php } while ($row_rsSearchResults = mysql_fetch_assoc($rsSearchResults)); ?>
</table>
<p> </p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="right"><strong>Намери рецепта: </strong></div></td>
</tr>
<tr>
<td><form name="form1" method="get" action="search.php">
<div align="right">
<input name="SearchString" type="text" class="small" id="SearchString3" size="24">
<input type="submit" name="Submit" value="Търси">
</div>
</form></td>
</tr>
</table>