{"id":418,"date":"2011-09-08T16:37:24","date_gmt":"2011-09-08T20:37:24","guid":{"rendered":"http:\/\/www.kafraco.com\/blog\/?p=418"},"modified":"2011-09-08T16:40:16","modified_gmt":"2011-09-08T20:40:16","slug":"another-phphtml-question","status":"publish","type":"post","link":"https:\/\/www.kafraco.com\/blog\/2011\/09\/another-phphtml-question\/","title":{"rendered":"Another PHP\/HTML question"},"content":{"rendered":"<p>I think this is more of an HTML question, but I am also using PHP, so I decided to put it in the blog title.<\/p>\n<p>If I wanted to create a form connected to a database and wanted to display the contents of a drop down field, I would use something like:<br \/>\n<code>< option selected=\"selected\" value=\"< ?php echo $script_architecture ?>\" >< ?php echo $script_architecture ? ><\/option ><\/code><\/p>\n<p>How would I do the same with a checkbox?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think this is more of an HTML question, but I am also using PHP, so I decided to put it in the blog title. If I wanted to create a form connected to a database and wanted to display the contents of a drop down field, I would use something like: < option selected=\"selected\" [&hellip;]\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[27],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-posts"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1x9C8-6K","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":4,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions\/422"}],"wp:attachment":[{"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kafraco.com\/blog\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}