Skip to content

Instantly share code, notes, and snippets.

@TiuTalk
Created February 20, 2015 02:30
Show Gist options
  • Save TiuTalk/b642d0988302c7fd72fb to your computer and use it in GitHub Desktop.
Save TiuTalk/b642d0988302c7fd72fb to your computer and use it in GitHub Desktop.
// Montamos a consulta SQL
$query = "INSERT INTO `noticias` VALUES (NULL, '".$titulo."', '".$texto."', '".$cadastro."')";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment