When using the following, I click on the submit button and it opens "domain.com/bhl.php?search=" and not passing the $_GET variable like I need.
<form action="bhl.php" method="GET">
<input name="search" type="text" placeholder="Type here">
<input type="submit" onclick="window.open('bhl.php?search=<?php echo $_GET['search'] ?>','targetWindow','toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=500'); return false;" />
</form>
onclick(), you can use$_GETinbh1.php.onclick='window.open('b.... Is it possible that a quick edition happened without showing the edit? Anyway, sorry about that, my bad...