is it possible?
Code:<SCRIPT LANGUAGE="Javascript"> document.location = "product.php?search=<?php echo $search;?>" </SCRIPT>
Professional Software Development Tools
is it possible?
Code:<SCRIPT LANGUAGE="Javascript"> document.location = "product.php?search=<?php echo $search;?>" </SCRIPT>
Mmmm... I think. Not sure, but I'd say... just try it !?!!
Make sure to retrieve your $seach variable from your search field (?) prior to calling that function. Then you should be good to go...
<?php
$search = $_POST['searchfield'];
?>
or
<?php
$search = $_GET['searchfield'];
?>
Last edited by srussell; 11-13-2007 at 07:43 AM.