fixing the old project errors

This commit is contained in:
Anas Rashid committed 2026-04-29 00:42:13 +02:00
1 parent 34753111ed
commit 4ff0c03c62
23 files changed
+117 -278

No files matched your search

+4 -2
View File
@@ -30,8 +30,10 @@ class album{
$query="select * from albumdata where albumId=$albumId";
$result=DataAccessHelper::executeQuery($query);
$result2=array();
foreach($result as $i){
$result2[$i]=$result[$i]['imgId'];
if($result){
foreach($result as $row){
$result2[]=$row['imgId'];
}
}
return $result2;
}