Skip to content

Instantly share code, notes, and snippets.

@whalesalad
Created June 15, 2010 22:19
Show Gist options
  • Select an option

  • Save whalesalad/439833 to your computer and use it in GitHub Desktop.

Select an option

Save whalesalad/439833 to your computer and use it in GitHub Desktop.
<?php
// This code is bothering me, a lot
// Is there a flag or something that can be passed and/or an alternate
// method to do this so that each field is replaced with the same variable?!
Header(sprintf("Location: http://jetsuiteair.com?utm_source=%s&utm_medium=%s&utm_campaign=%s",
$post->post_name, $post->post_name, $post->post_name));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment