{"id":1709,"date":"2024-06-20T07:53:54","date_gmt":"2024-06-20T11:53:54","guid":{"rendered":"https:\/\/www.survivorlibrary.com\/?p=1709"},"modified":"2024-07-04T12:06:58","modified_gmt":"2024-07-04T16:06:58","slug":"2024-06-20","status":"publish","type":"post","link":"https:\/\/www.survivorlibrary.com\/index.php\/2024\/06\/20\/2024-06-20\/","title":{"rendered":"2024-06-20"},"content":{"rendered":"<p><span style=\"font-size: 18pt;\">PHP HELP<span style=\"font-size: 14pt;\">\u00a0<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Looking for some PHP help. I&#8217;m trying to set up the Book Search page to check for books added since a specific date. It&#8217;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.)<\/span><\/p>\n<p>I need maybe a dozen and a half line of code. What I need to do is<\/p>\n<ol>\n<li>ask for Year in a select statement (2024-2020)<\/li>\n<li>ask for a month (01-12)<\/li>\n<li>concatenate them into yyyy-mm-01<\/li>\n<li>call another php page passing that date in the URL.<\/li>\n<\/ol>\n<p>The second age making the database queries I can handle just fine. If anyone fluent in PHP could help out I&#8217;d really appreciate it.<\/p>\n<p><span style=\"font-size: 12pt;\"><strong>The Librarian<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP HELP\u00a0 Looking for some PHP help. I&#8217;m trying to set up the Book Search page to check for books added since a specific date. It&#8217;s been a LOT of years since I did any serious PHP coding and I &hellip; <a href=\"https:\/\/www.survivorlibrary.com\/index.php\/2024\/06\/20\/2024-06-20\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1709","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/posts\/1709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/comments?post=1709"}],"version-history":[{"count":3,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/posts\/1709\/revisions"}],"predecessor-version":[{"id":1712,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/posts\/1709\/revisions\/1712"}],"wp:attachment":[{"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/media?parent=1709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/categories?post=1709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.survivorlibrary.com\/index.php\/wp-json\/wp\/v2\/tags?post=1709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}