Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require('variablesremove.php');
- $user = "#";
- $password = "##";
- $host = "localhost";
- $database= "#";
- $connection= mysqli_connect ($host, $user, $password);
- if (!$connection)
- {
- die ('Could not connect:' . mysql_error());
- }
- mysqli_select_db($database, $connection);
- $deleterow = "DELETE FROM licenses WHERE serialNumber='$serialNumber'";
- if($deleterow !== FALSE)
- {
- echo("The row has been deleted.");
- }else{
- echo("The row has not been deleted.");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement