I fixed my problem by implementing the following codes to PHP and modification to the MYSQL database.
PHP
if(isset($_POST['submit'])){
$address = $_POST['address'];
$city = $_POST['city'];
$state = $_POST['state'];
$b_number = $_POST['b_number'];
$b_name = $_POST['b_name'];
mysqli_query($con, "DELETE FROM bus_location");
mysqli_query($con, "INSERT INTO bus_location SET
address='$address',
city='$city',
state='$state',
b_number='$b_number',
b_name='$b_name'
");
header("location:location.php");
exit();
}
MYSQL
CREATE TABLE `bus_location` (
`id` int(11) NOT NULL,
`address` text DEFAULT NULL,
`city` text DEFAULT NULL,
`state` text DEFAULT NULL,
`b_number` text DEFAULT NULL,
`b_name` text DEFAULT NULL,
`role` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `bus_location`
ADD PRIMARY KEY (`id`);
--
ALTER TABLE `bus_location`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
COMMIT;