remove PHP code example
Example 1: how to uninstall php
sudo apt-get remove –purge php* sudo apt-get purge php*
Example 2: 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);
?>