Table list
-
Hi everybody,
Excuse me for my bad english….
I have a problem, I have search on many forums, but I don’t find a solution.
I have make a function for generate WP List Table. My problem is, I make a wp_query and pass in my function.
My table list is good generated by the data is, for example:
Array ( [post_title] => This is the title on my post )OR
Array ( [ID] => 142 [post_author] => 1 [post_date] => 2014-07-08 15:56:29 [post_date_gmt] => 2014-07-08 14:56:29 [post_content] =>……….
My request is:
$test = $wpdb->get_results($wpdb->prepare("SELECT post_title, post_date FROM wp_posts", 5, 1), ARRAY_A);
Have you an idea?
Thanks for your helping
- The topic ‘Table list’ is closed to new replies.