Hi there,
I'm quite new to PHP, but I am trying to build a site which shows news items(which I insert myself). I store the newsitems in a database. I can extract the news items from the database but I only want the newest 10 to be shown on the site. The others should be archived in the database and remain accessible.
Does anyone know how to do this?
I'm quite new to PHP, but I am trying to build a site which shows news items(which I insert myself). I store the newsitems in a database. I can extract the news items from the database but I only want the newest 10 to be shown on the site. The others should be archived in the database and remain accessible.
Does anyone know how to do this?