Title: Array
Last modified: February 9, 2017

---

# Array

 *  [myasinveici](https://wordpress.org/support/users/myasinveici/)
 * (@myasinveici)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/array-3/)
 * Table Field
    Hello dear I output Array Faced And the table can not be displayed

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * (@jonua)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/array-3/#post-8787143)
 * A table field returns an array that contains the table data. To render the array
   into an html table, please start with the code provided [here](https://wordpress.org/plugins/advanced-custom-fields-table-field/).
    -  This reply was modified 9 years, 3 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).
      Reason: Fix typo
 *  Thread Starter [myasinveici](https://wordpress.org/support/users/myasinveici/)
 * (@myasinveici)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/array-3/#post-8794632)
 * Where I upload the code in WordPress?
 *  Thread Starter [myasinveici](https://wordpress.org/support/users/myasinveici/)
 * (@myasinveici)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/array-3/#post-8821161)
 * The following code where do I upload to display table.
    In the show table with
   face moving Array error The following sample error page [https://goo.gl/vL8ocL](https://goo.gl/vL8ocL)
   Please check the help
 * $table = get_field( ‘your_table_field_name’ );
 * if ( $table ) {
 *  echo ‘<table border=”0″>’;
 *  if ( $table[‘header’] ) {
 *  echo ‘<thead>’;
 *  echo ‘<tr>’;
 *  foreach ( $table[‘header’] as $th ) {
 *  echo ‘<th>’;
    echo $th[‘c’]; echo ‘</th>’; }
 *  echo ‘</tr>’;
 *  echo ‘</thead>’;
    }
 *  echo ‘<tbody>’;
 *  foreach ( $table[‘body’] as $tr ) {
 *  echo ‘<tr>’;
 *  foreach ( $tr as $td ) {
 *  echo ‘<td>’;
    echo $td[‘c’]; echo ‘</td>’; }
 *  echo ‘</tr>’;
    }
 *  echo ‘</tbody>’;
 *  echo ‘</table>’;
    }
    -  This reply was modified 9 years, 3 months ago by [myasinveici](https://wordpress.org/support/users/myasinveici/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Array’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-table-field/assets/icon-256x256.png?
   rev=1962986)
 * [Table Field Add-on for ACF and SCF](https://wordpress.org/plugins/advanced-custom-fields-table-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-table-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [myasinveici](https://wordpress.org/support/users/myasinveici/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/array-3/#post-8821161)
 * Status: not a support question