$strSPQuery = "SELECT * FROM `san_pham` where ma_san_pham=".$arrMa[$i];
$resultSp= mysqli_query($conn,$strSPQuery);
$rowsp = mysqli_fetch_array($resultSp);
$tong += $rowsp["gia"]*$arrSl[$i];
Jun_8 0 Newbie Poster
Jun_8 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.