adrianmak Posted January 27, 2016 Share Posted January 27, 2016 My site has an enquiry submission form. 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 Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 27, 2016 Share Posted January 27, 2016 Even if the date would show up it would just be a quite unreadable timestamp. I'd suggest formatting the date which will additionally make sure it's a sting and not parsed as anything special. 1 Link to comment Share on other sites More sharing options...
adrianmak Posted January 28, 2016 Author Share Posted January 28, 2016 I found the issue. It is caused by typo error on another template where store date time on the date field Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now