Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

sopham / todolist

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • todolist
  • insert.php
Find file
BlameHistoryPermalink
  • sopham's avatar
    new commit · d64191cf
    sopham committed 6 years ago
    d64191cf
insert.php 228 Bytes
1 2 3 4 5 6 7 8 9 10 11 12
<?php
include_once "dbconnection.php";
$query = "INSERT INTO toDoList (task) VALUES (?) ";

$query = $link->prepare($query);

$query->bind_param('s', $_POST['task']);
$query ->execute();

$query -> close();
$link -> close();
?>