I am getting this error:
undefined index:name why its not responding.
<?php
$url="localhost";
$user="root";
$password="";
$db="sms";
$connection=new mysqli($url,$user,$password,$db);
$username=$_POST["name"];
$query="INSERT INTO student(name)VALUES('".$username."')";
$connection->query($query);
?>