i'm using a php script in my Android project to delete a lign from the database . here is the php file content :
<?php
$pseudo = $_POST['pseudo'];
define('HOST','localhost');
define('USER','root');
define('PASS','');
define('DB','ract');
$con = mysqli_connect(HOST,USER,PASS,DB);
$sql = "DELETE from utilisateur where pseudo=$pseudo";
$res = mysqli_query($con,$sql);
?>
I think that the main problem in comparing pseudo to $pseudo