Can you tell what do i do wrong?
this is the statement
if (isset($_POST['search_all']))
{
if (empty($_REQUEST['src_all']))
{
echo "<p>You forgot to enter a search term</p>";
}
elseif (!empty($_REQUEST['src_all']))
{
$Filter = " M.message LIKE '%" . $_REQUEST['src_all'] . "%'";
$Order = " ORDER BY M.created DESC";
}
}
this is html
<form name="search" method="post" action="<?=$PHP_SELF?>">
<input id="src_all" name="src_all" onblur="if (this.value == '') { this.value='Search '; jQuery(this).addClass('blank'); };" onfocus="if (this.value == 'Search ') { this.value=''; jQuery(this).removeClass('blank'); };" type="text" value="Search" />
<input id="search_all" name="search_all" type="submit" value="" />
</form>