Skip to content

Instantly share code, notes, and snippets.

@twilioforkwc
Created September 28, 2015 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twilioforkwc/2399b793ca8feba67756 to your computer and use it in GitHub Desktop.
Save twilioforkwc/2399b793ca8feba67756 to your computer and use it in GitHub Desktop.
<?php
$accountSid = $_GET['AccountSid'];
// Connect to MySQL, and connect to the Database
mysql_connect('xxx.xxx.xxx.xxx', 'id', 'pwd') or die(mysql_error());
mysql_select_db('dbname') or die(mysql_error());
$sql_str="INSERT INTO T_CON(AccountSid) VALUES ('$accountSid')";
$resultCnt = mysql_query($sql_str);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment