Good morning, today I come with a small problem that is this
echo $consulta;
to which he replies with:
SELECT SUM(carrito_cant) as cantidad FROM carrito_tb WHERE carrito_folio='3041M�Ra' and carrito_NP='NA';
Devido to the character or who exchanges it for already try with
$consulta = utf8_encode ( $consulta );
also with these two:
header('Content-type: text/html; charset=utf-8');
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
but no doubt no one throws me
SELECT SUM(carrito_cant) as cantidad FROM carrito_tb WHERE carrito_folio='3041MóRa' and carrito_NP='NA';