Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
i have an array $value=array (2,4,6,3,2,4,3,8); and i need only the values thar are repeating it self in the array that would be 2,4,3 i have this code written <?php $value=array (2,4,6,3,2,4,3,8); $arrlength = count($value); for($x=0; $x<$arrlength; $x++){ $value[$x]; for($y=0; $y<$arrlength; $y++){ $value[$y]; if($value[$x]==$value[$y] ){ echo $value[$y]; } } echo … |