select * from prodottiComposizione
where prodotto =
order by id - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by id' at line 3
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /web/htdocs/www.complemed.biz/home/lib/lib_sql.php on line 57
select p.*, pi.nome, pi.descrizione from prodottiImmagini p inner join prodottiImmaginiInt pi on pi.id = p.id
where p.prodotto= and pi.lingua = 'it' - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and pi.lingua = 'it'' at line 2
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /web/htdocs/www.complemed.biz/home/lib/lib_sql.php on line 57
select ci.nome from prodottiCategorie pc
INNER JOIN categorieInt ci on ci.id=pc.categoria where prodotto= and ci.lingua = 'it' - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and ci.lingua = 'it'' at line 2
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /web/htdocs/www.complemed.biz/home/lib/lib_sql.php on line 57
select p.id idProprieta, p.foto, p.nome, p.testo, pp.proprieta
from proprieta p inner join prodottiProprieta pp on pp.proprieta = p.id
where pp.prodotto=
order by p.nome - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by p.nome' at line 4
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /web/htdocs/www.complemed.biz/home/lib/lib_sql.php on line 57