Skip to content

Instantly share code, notes, and snippets.

View travisdmathis's full-sized avatar
🏠
Working from home

Travis Mathis travisdmathis

🏠
Working from home
  • Vermont
View GitHub Profile
@travisdmathis
travisdmathis / file.jsx
Last active December 14, 2016 02:42 — forked from anonymous/file.jsx
class SecondarySelections extends React.Component {
constructor(props) {
super(props);
this.state = {
message: null
};
}
updateMessage() {
if (this.props.auxiliaryVerbs['passiveVoiceRequestedAndUnavailable'] == true) {
this.setState({
<?php
if($_POST['email'] != '') {
$db = mysqli_connect('localhost', 'cl54-sstats', '******', 'cl54-sstats') OR die('Database Connection Error.');
$email = mysqli_real_escape_string($_POST['email']);
$sql = "INSERT INTO mailing (email) VALUES ('$email')";