how to remove php code example
Example 1: uninstall php ubuntu 18.04
$ sudo apt-get purge php7.*
$ sudo apt-get autoclean
$ sudo apt-get autoremove
Example 2: how to uninstall php
sudo apt-get remove –purge php* sudo apt-get purge php*
Example 3: php delete
<?php
$servername = "localhost";
$username = "username";
$password =
"password";
$dbname =
"myDB";
$conn = mysqli_connect($servername, $username, $password,
$dbname);
if (!$conn) {
die("Connection
failed: " . mysqli_connect_error());
}
record
$sql
= "DELETE FROM MyGuests WHERE id=3";
if (mysqli_query($conn, $sql)) {
echo "Record deleted
successfully";
} else {
echo "Error
deleting record: " . mysqli_error($conn);
}
mysqli_close($conn);
?>