Hi guys. I have following code to delete particular row from a table based on the title. But how can I delete all data from the table?
$naslov = $_POST['naslov'];
//delete some data
$sqlInsert = 'DELETE FROM bloging WHERE title=:title';
$preparedStatement = $conn->prepare($sqlInsert);
$preparedStatement->execute(array(':title' => $naslov));
//REDIRECT TO HOME PAGE