Jump to content

date field did not show in MarkupAdminDataTable


adrianmak
 Share

Recommended Posts

My site has an enquiry submission form.

post-2272-0-48919400-1453935922_thumb.pn

Then, I use Process module to retrieve those submission data.

 foreach($listing as $p) {
                $checkbox = "<input name='guestbook[]' id='guestbook_{$p->id}' value='{$p->id}' type='checkbox'>";
                $data = array(
                    $checkbox,
                    $p->title=>$config->urls->admin."../page/edit/?id=".$p->id,
                    $p->gb_email,
                    $p->gb_subject,
                    $p->gb_message,
                    $p->post_date,
                );
                $table->row($data);
            }
        

All fields are look properly, except the post_date, it returned empty

post-2272-0-21826200-1453936142_thumb.pn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...