I need to grab categories name from my database and store them into an array, but I don’t want to grab the same category twice. Is there a way to, once I grab the category name and store it into an array to skip that category and not store it any more?
Share
1 Answer