PHP $_GET within WordPress
-
I am trying to display information (a member directory) from a table within the wordpress database (Families) within a WordPress site. The objective is to list all the families (master) with a clickable link to the details page for family details. I thought the quick and dirty way would be to simply import my functioning PHP page into template pages and change the code to point to the WordPress generated page_id=631?record_ID=<?php echo$row_RecordsetFamily[‘FamilyID’]; ?>. The families page correctly displays the list of all the families with links. The family details page comes up with the text on the details page. However, no database table information is displayed. Does WordPress have issues with URL-passed recordIDs? Can you suggest a work-around? I’ve dabbled with WPDB but that was not passing the recordID either. Any help would be most appreciated.
EF
- The topic ‘PHP $_GET within WordPress’ is closed to new replies.