To start with, I am a complete beginner when it comes to PHP.
I am working on a blog page that uses PHP and MySQL. The blog is stored in MySQL with the following headings: blog_id, blog_title, blog_author, blog_text, blog_posix_start, blog_image, and blow_allow.
"blog_posix_start" takes the date and time entered and turns it into a Unix timecode. What I want to do is have the webpage blog.php check "blog_posix_start" against today's date and only show blog posts that occur before today's date (ones entered for future dates wouldn't be visible).
Can anyone help me figure out what the PHP code to do something like that would look like? Specifically, I'm looking for sample code so I can understand what this would look like. Thank you in advance!