fixing the old project errors
This commit is contained in:
1 parent
34753111ed
commit
4ff0c03c62
23 files changed
+117
-278
No files matched your search
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user