I am failing mysql by recognizing the delete function
$code = '1234';
$conn = new PDO('mysql:host=localhost;dbname=data', 'root');
$stmt = $conn->prepare('SELECT * FROM codes WHERE code='.$code.'');
$stmt->execute();
$result = $st...
asked by
14.07.2017 / 21:46