Use the "export" function in a php script
-
I see that this plugin has an export function, I gave an eye to code and I came up with this:
`require_once(“wp-load.php”);
require_once(“wp-content/plugins/wp-table- reloaded/classes/export.class.php”);$db = new WP_Table_Reloaded_Export();
$db->export_format = ‘xml’;
$db->table_to_export[‘data’] = ‘TableName’;
$output = $db->export_table();
echo $output;it should print me the xml representation of the table..but it doesn’t, can you help me out please?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Use the "export" function in a php script’ is closed to new replies.