" . $row[0] . "<|>" . $row[5] . "<|>" . $row[11] . "<|>" . $row[4]; array_push($arr1,$d); } mysqli_free_result($result); $result = mysqli_query($GLOBALS['mysqli'],"Select `id`, `Small_Image`, `Big_Image`, `Heading`, `Title`, `Section_Id`, `Source`, `User_Id`, `Date_Entered`, `keywords`, `Description`, `Sub-Section_Id` FROM `Articles` where `HomeDisplay` = 1 and `is_draft` = 0 and Enable = 0 and isHidden = 0 and `Section_Id` = 4 order by `last_updated` desc limit 0,36 "); while($row = mysqli_fetch_array($result,MYSQLI_NUM)) { if ($row[1] == "") $img = "noimage.png"; else $img = str_replace("-small-","-440x220-", $row[1]); $d = $imagePath . $img . "<|>" . $row[0] . "<|>" . $row[5] . "<|>" . $row[11] . "<|>" . $row[4]; array_push($arr2,$d); } mysqli_free_result($result); $result = mysqli_query($GLOBALS['mysqli'],"Select `id`, `Small_Image`, `Big_Image`, `Heading`, `Title`, `Section_Id`, `Source`, `User_Id`, `Date_Entered`, `keywords`, `Description`, `Sub-Section_Id` FROM `Articles` where `HomeDisplay` = 1 and `is_draft` = 0 and Enable = 0 and isHidden = 0 and `Section_Id` = 5 order by `last_updated` desc limit 0,36 "); while($row = mysqli_fetch_array($result,MYSQLI_NUM)) { if ($row[1] == "") $img = "noimage.png"; else $img = str_replace("-small-","-440x220-", $row[1]); $d = $imagePath . $img . "<|>" . $row[0] . "<|>" . $row[5] . "<|>" . $row[11] . "<|>" . $row[4]; array_push($arr3,$d); } mysqli_free_result($result); closedb(); ?>
Got A Story To Share? Click here to submit your story to us.