i have one problem.im suppose to display 10 newest announcements.
when it displays,i want some things to be display once,which is company name and date
currently,it displays as below,first line is company name,second line is the date and third line is the headline.company a is repeated as well as the date
company a
15 july 2004
todays special
company b
15 july 2004
today special recipes
company a
15 july 2004
weather is cold
i want the company a to display once if there is repetition and the date display once if there is repetition in date in same company.for example as below:
company a
15 july 2004
todays special
weather is cold
company b
15 july 2004
today special recipes
how to write all this php coding?
when it displays,i want some things to be display once,which is company name and date
currently,it displays as below,first line is company name,second line is the date and third line is the headline.company a is repeated as well as the date
company a
15 july 2004
todays special
company b
15 july 2004
today special recipes
company a
15 july 2004
weather is cold
i want the company a to display once if there is repetition and the date display once if there is repetition in date in same company.for example as below:
company a
15 july 2004
todays special
weather is cold
company b
15 july 2004
today special recipes
how to write all this php coding?