Hi all !
Okay i'm looking for a PHP code where i want to retrieve a data from SQL database "BASED" on the newest submitted news.
Suppose i have a News table where i add news from time to time, but i want a certain php website to retrieve (select) newest data to be displayed on the page.
News table would sure contain (NewsID,Text,Date)..
Suppose i wrote ----- $result = $conn->query ("Select Text from News where ????what????")
I hope that made sense, like when you visit a website that has a marquee display that shows Latest submitted news only.
Thank you so much for reading,
scaryhunter