Executing sql statements when adding new records to a table
-
Hi,
I am new to WordPress, but fine with html, php, js etc. I have pages written in html / php that I now need to move onto ta a WordPress site – primarily data tables – users creating / deleting / updating from the front-end. after much frustration this seems difficult in WordPress(?)My initial problem is trying to get the user to add a record to a table, which in turn creates a new table (name based on some of the data entered + a random element);
I have created a table that allows the user to add new records to the underlying WordPress database table (works fine – WpDataTables plugin). As the record is added I want to use data entered into one of the cells to create a NEW table in the database. Is this possible and if so any pointers to the process would be appreciated?
Callbacks / actions and filters are phases I have come across which may help but cannot find any in depth examples for how to use them / where to store code and how to trigger them based on used action.
Regards
kjjf
The topic ‘Executing sql statements when adding new records to a table’ is closed to new replies.