View Single Post
Old 01-23-2022, 04:06 PM  
ZTT
Confirmed User
 
ZTT's Avatar
 
Industry Role:
Join Date: Apr 2019
Posts: 657
Hard to say since I can't see the exact code and/or what you're doing, but do the print_r as you have it there, or var_dump, and underneath do the loop, and compare the array values to see if they match or some are missing. If that's not what you did already.

I mean if "pe" contains 100 items, 100 should be printed and 100 should be listed by the loop. For example:

Code:
$pe=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100];

print_r($pe); 

foreach ($pe as $pelist) {echo "$pelist ";}
__________________
__________________

Last edited by ZTT; 01-23-2022 at 04:14 PM.. Reason: code formatting
ZTT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote