1
I’m having problems with this section and I can’t solve " mysqli_fetch_array() expects Parameter 1 to be mysqli_result",
$Valor = mysqli_query($conexao,"SELECT SUM(Y) AS TotalY AND SUM(X) AS TotalX FROM tabela");
while($rs = mysqli_fetch_array($Valor)){
$X = $rs['Y'];
$Y = $rs['Y'];
}
Would have some way to subtract one by the other already inside the first line?
Have you tried taking out the DNA and putting a comma?
– Rogério Dec