{"id":6635897,"date":"2015-10-11T05:51:08","date_gmt":"2015-10-11T05:51:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-post-parameters-in-sql\/"},"modified":"2016-08-30T18:59:42","modified_gmt":"2016-08-30T18:59:42","slug":"using-post-parameters-in-sql","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-post-parameters-in-sql\/","title":{"rendered":"using POST parameters in SQL"},"content":{"rendered":"<p>I have a sub-type\/super-type set of tables<\/p>\n<p>CUSTOMER ( id, name , type )<br \/>\nwhere the type attribute is a data switch into 3 subordinate tables<\/p>\n<p>CNonProfit ( id, 501c3Status, &#8230; )<\/p>\n<p>CCompany (id, owner &#8230; )<\/p>\n<p>CPerson (id, wifesName &#8230; )<\/p>\n<p>I want to select by name from the master table (CUSTOMER)  and depending on the retrieved type go to 1 of 3 different pages to display that id&#8217;s information.<br \/>\nso..<br \/>\nin the second page (CPerson) i&#8217;m going to need the retrieved type and the id &#8211; how do i pass them from the first (CUSTOMER) page?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/abase\/<\/p>\n","protected":false},"template":"","class_list":["post-6635897","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6635897","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\/6635897\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6635897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}