I'd like to search this before asking a question but I'm not sure exactly what to search for. Posting for help is always a last resort for me.
What I'd like to find is I think it's called a loop? or foreach? I think..
What I want to do is the following. I have a mailing list that I use at work that we can add a company to at anytime. Which I have setup and working to a point. Once I add the company in it will add a new table for them which works. But how do I make it so that when I go to that page I will see their company name without having to do new code for newcompany1 newcompany2 etc..
So example of my page is
Name Company Email Company 1 Company 2 etc
Person1 Companyx email@example.com no no
Where it says company 1 no that means person1 isn't on that mailing list for that company/topic.
I'm not exactly sure what to search for.
If anyone can direct me what to look/search for that would be great.
Thanks in advance,