You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$dataquery = "SELECT brandCode, brandName, logoIMG FROM paper_brands ORDER BY brandName ASC";
$dataresult = $dataconnection->query($dataquery);
if ($dataresult->num_rows > 0)
{
while($papbrand = $dataresult->fetch_assoc())
{
$paperResult = $dataconnection->query("SELECT * FROM papers WHERE paperBrand = '" . $papbrand["brandCode"] . "' ORDER BY paperPublished DESC LIMIT 1");