Think that I have Php foreach code
and inside this foreach I have different code witch get value from d