{"id":3697544,"date":"2013-04-26T20:45:05","date_gmt":"2013-04-26T20:45:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-sql-using-php\/"},"modified":"2016-08-21T00:31:38","modified_gmt":"2016-08-21T00:31:38","slug":"adding-sql-using-php","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-sql-using-php\/","title":{"rendered":"Adding SQL using PHP"},"content":{"rendered":"<p>I tried the plug in with HTML and it works fine on the sidebar. THanks!<\/p>\n<p>I want to now stop hard coding the scrolling text with a list of names from the database? Can I use an include type feature and it runs the PHP that contains the SQL to extract the names and build the new list of names dynamically.<\/p>\n<p>Can this be done or I need to look else where?<\/p>\n<p>Thanks again<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/html-javascript-adder\/<\/p>\n","protected":false},"template":"","class_list":["post-3697544","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3697544","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\/3697544\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3697544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}