2024-06-20

PHP HELP 

Looking for some PHP help. I’m trying to set up the Book Search page to check for books added since a specific date. It’s been a LOT of years since I did any serious PHP coding and I no longer have the patience I used to have for dealing with syntax errors and malformed statements. (No longer have hair to pull out.)

I need maybe a dozen and a half line of code. What I need to do is

  1. ask for Year in a select statement (2024-2020)
  2. ask for a month (01-12)
  3. concatenate them into yyyy-mm-01
  4. call another php page passing that date in the URL.

The second age making the database queries I can handle just fine. If anyone fluent in PHP could help out I’d really appreciate it.

The Librarian