php - How to sort the array in a loop? -


I have a loop where my array is stored and the content is also required to be checked and displayed. Should not be repeated. For example:

  for loop {$ myarray = storecontent ($ i = 0; $ i & lt; count ($ myarray); $ i ++) {if ($ myarray = = Storecontent) {} and {display content; }}}   

I did something like, where a page is in a loop, and that page has a description of each post, it has some similar content, I

  Content 1: my_post1; My_post2; Content 2: my_post1; My_post2;    

Use to sort arrays according to the spectrum

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -