Skip to content

Instantly share code, notes, and snippets.

@ksnider
Created January 7, 2014 18:52
Show Gist options
  • Select an option

  • Save ksnider/8304530 to your computer and use it in GitHub Desktop.

Select an option

Save ksnider/8304530 to your computer and use it in GitHub Desktop.
<?php
// Encourage you to add your own comments as we go
/*
This is how you
add multi-line comments
*/
echo "Hello World! <br/><br/>";
$contactId = $_POST['id'];
$name = $_POST['name'];
$passion = $_POST['fav_sport'];
echo 'Contact ID: '.$contactId.'<br/>';
echo 'Name: '.$name.'<br/>';
echo 'Favorite Sport: '.$passion.'<br/>';
/*
* What, in Infusionsoft, creates a post?
* - POST snippet in campaign builder - only sends the name/value pair you specify
* - Action sets have a send http post option - use requestb.in to review name/value pairs
*
* - where else ??
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment