So, I'm trying to display information from a table into my database on one of my pages. However, everything I've tried isn't working. Obviously, it's me. I know I'm doing something wrong, just not sure what.
I deleted the PHP code related to querying and getting the information, again it was obviously done wrong anyways.
So I have a table named 'news' and I have some columns, named 'author', 'date', 'subject', 'body'.
I have some areas where I want those values displayed on my website in $author $date $subject $body
Seems like whenever I alter the code I always have a new problem. I'm still learning PHP, so please don't just give me the code, I want to LEARN it, so if anything if you could break it down, that would be great and I hope it's not asking for a lot.