I have the MySQL database all setup and stuff, I just want to know if there is like an easy way just to call from it to get something from lets say:
Database latin - table news
+--+-------------+---------------+
|id|news_headline|news_body |
+--+-------------+---------------+
|1 |Programming |News here. |
+--+-------------+---------------+
|2 |Gaming |In the news... |
+--+-------------+---------------+
Say I had a mainpage.php and I wanted to call id 2 so that I could get Programming as a $headline and the News here as $news_body so that when I input them into a table on my site they show up. All I need to know is how to call from MySQL to be able to print.