Skip to content

Instantly share code, notes, and snippets.

@davidcoallier
Created March 4, 2011 18:46
Show Gist options
  • Save davidcoallier/855481 to your computer and use it in GitHub Desktop.
Save davidcoallier/855481 to your computer and use it in GitHub Desktop.
How to prepopulate a link to tenderapp.
<?php
$query = http_build_query(array(
'discussion' => array(
'user_name' => 'Firstname Surname',
'user_email' => '[email protected]',
'title' => 'Some subject',
'body' => 'The description of the discussion.',
'private' => 1
)
));
echo 'http://help.tenderapp.com/discussion/new?' . $query;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment