php code
unknown
php
3 years ago
254 B
28
Indexable
<?php
require_once('database.php');
$nome=$_POST['nome'];
$query = "SELECT * FROM intestazioni_formule WHERE nome LIKE '%$nome%'";
$stm = $db->prepare($query);
$stm->execute();
$row = $stm->fetchAll(PDO::FETCH_ASSOC);
echo json_encode($row);Editor is loading...