Shortcode with table name
-
I am working on php that should include one of my tables table based on a variable. For this, ideally the shortcode should include the name of the table (=the variable) in stead of the ID. To give an example, if my table ID is 1 and my table name is ‘team23’, if the shortcode could be [table name=team23 /] that would be ideal. But since this isn’t possible (I guess?), I could fetch the ID of the table belonging to the table name in the sql database. Could you please tell me where I can find the table ID in the sql databases please?
TIA
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Shortcode with table name’ is closed to new replies.