Skip to content

Instantly share code, notes, and snippets.

@franhaselden
Last active May 11, 2016 14:40
Show Gist options
  • Save franhaselden/521ba50c8305649b206a to your computer and use it in GitHub Desktop.
Save franhaselden/521ba50c8305649b206a to your computer and use it in GitHub Desktop.
Basic insert into
if (!mysqli_query($con,"INSERT INTO live_lounge_DB_1 (account_no_type, account_no, first_name, last_name, email, company, game_choice, already_tickets, guests, terms) VALUES ('$numberType','$accountNumber','$firstName','$lastName','$email','$companyName','$gameSelection','$alreadyTickets','$guests','$terms') ")){
echo("Error description: " . mysqli_error($con));
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment