SEARCH IN WEBSITE AND DATABASE

Hi, I want to make my searchbox that searches both from a database and the website itself.
The searchbox used to work fine, but then they did an URL rewrite and now the searchbox doesn’t work anymore.

[php] <? // Search ?>

	<div style="left: 24px; top: 16px; position: absolute; color: #ffffff; font-family: sans-serif; font-size: 8pt; font-weight: bold;">

		<?=SEARCH_CITY?>:

	</div>



	<form id="frmSearch" method="get" action="/?srch">

		<div style="left: 33px; top: 37px; position: absolute;">

			<? if (isset($language)) { ?>

				<input name="lang" type="hidden" value="<? echo $language; ?>" />

			<? } ?>

			<input name="city" id="city" type="text" value="" size="80" class="search_input" />

			<input name="cid" id="cid" type="hidden" value="" />

			<? if ($_GET['test'] == '1') { ?>

				<input name="test" type="hidden" value="1" /><br />

			<? } ?>

			<input type="submit" style="display: none;" value=""  />

			<script src="/javascript/autocomplete.js" type="text/javascript"></script>

		</div>

	</form>[/php]

Thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service