Skip to content

Instantly share code, notes, and snippets.

@ksnider
Created January 8, 2014 00:25
Show Gist options
  • Select an option

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

Select an option

Save ksnider/8309451 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
*/
$contactId = $_REQUEST['id'];
$name = $_REQUEST['name'];
//$contactId = 1234;
//$name = 'kim';
$file = fopen('show-log.txt', "a+");
fwrite($file, 'Contact ID is: ' .$contactId.'<br/>' );
fclose($file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment