{"id":17768681,"date":"2024-05-20T19:02:37","date_gmt":"2024-05-20T19:02:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-code-in-cells\/"},"modified":"2024-05-20T19:02:37","modified_gmt":"2024-05-20T19:02:37","slug":"php-code-in-cells","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-code-in-cells\/","title":{"rendered":"PHP Code in cells"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, I use an excel spreadsheet to generate some php code in a cell so that when it gets imported into Tablepress the desired data is displayed but it seems to have stopped working and converted the text into a comment i.e.  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;td class=\"column-5\"&gt;&lt;!--?php echo date(\"jS M y\", 1717545600)  ?--&gt;&lt;br&gt;&lt;!--?php echo date(\"jS M y\", 1718150400)  ?--&gt;&lt;br&gt;&lt;!--?php echo date(\"jS M y\", 1718755200)  ?--&gt;&lt;br&gt;&lt;!--?php echo date(\"jS M y\", 1719360000)  ?--&gt;&lt;br&gt;&lt;!--?php echo date(\"jS M y\", 1719964800)  ?--&gt;&lt;\/td&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It used to work, has there been an update that now prevents it?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Paul <\/p>\n","protected":false},"template":"","class_list":["post-17768681","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17768681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17768681\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17768681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}