Skip to content
Advertisement

Tag: arrays

How to push an object into another nested array [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. This post was edited and submitted for review 20 days ago and failed to reopen the post: Original close reason(s) were not resolved Improve this question I’m trying

update 2 dimensional array PHP

I made a 2 dimensional array which checks if 3 of the same values are equal to each other. My problem is that when the code detects 3 in a row it changes values, but it doesn’t update to the original array ($aww_ar). Is there a way to do this? Code: Answer Ive worked it out a bit with the

Advertisement