mardi 3 décembre 2019

how to sum columns in phpmyadmin

$p=runsql("select sum(gheymat) as a from addcart where addcart.iduser=$user[iduser] "); this in my query how to Get a in $p and Pour in Variable Like $a and set in $c where "final"=> $c=updaterecord("tblgheymatekoli",array("final"=>),"iduser='$iduser'");

[enter image description here][1]

enter image description here




Aucun commentaire:

Enregistrer un commentaire