Parse error. PHP Dynamic insertion into PHP Redirect?

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Guest
I am tryign to pass an insertion from the URL

ex: www.google.com/?b={2}

into a php redirect, but am getting a parse error. How do I do this?

<?php
header( 'Location: <?<?http://google.com/?k=<? echo $_GET['kw'] ?>
' ) ;
 
Back
Top