I have a php/html code where I iterate over services. And I create modal form by js, but js code is triggered only on the first element iterated over by foreach (php). What can I do to have js process each element of the array? Php/html js code Answer The problem is because you’re using id attributes in a repeated
Tag: iteration
Date in a loop – display the first / skip the rest [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 1 year ago. Improve this question A chat has a message date from an SQL database. The timestamp is formatted with php date: The date is in a loop (while):- Today