Syntax for dynamic link when using header:location
I have a link currently that looks like:
header("location:/partners_connected/");
What would the syntax be to make that a dynamic link of the form /partners_connected/index.php?PartnerID=".($row_WADApartners['PartnerID']);
I've tried things like:
header("location:/partners_connected/index.php?PartnerID='.($row_WADApartners['PartnerID']);'"
But it doesn't like it.
Thanks.