Title: Values after the loop
Last modified: August 21, 2016

---

# Values after the loop

 *  [Paul Goethe](https://wordpress.org/support/users/paul-goethe/)
 * (@paul-goethe)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/values-after-the-loop/)
 * Hello, I need help in the following code.
    It’s strange because ‘$postIDSkateA[
   0]’, [1] & [2] are full, I am sure than containg values.
 * <?php
 * if ( !empty( $postIDSkate ) ) {
    foreach ( $postIDSkate as $id ) { $postIDSkateA[]
   = $id; } }
 * $coordenadasSkate1 = get_post_meta($postIDSkateA[0], ‘coordenadas_skatepark1’,
   true);
    $coordSkate1 = explode (‘,’, $coordenadasSkate1);
 * $coordenadasSkate2 = get_post_meta($postIDSkateA[1], ‘coordenadas_skatepark2’,
   true);
    $coordSkate2 = explode (‘,’, $coordenadasSkate2);
 * $coordenadasSkate3 = get_post_meta($postIDSkateA[2], ‘coordenadas_skatepark3’,
   true);
    $coordSkate3 = explode (‘,’, $coordenadasSkate3);
 * ?>
 * The explode is for separate the value in two.
 * It’s very strange because I can print $coordSkate2, but no $coordSkate1 and $
   coordSkate3
 * What is it happen?
 * Thanks for the help. Im really locked..

Viewing 1 replies (of 1 total)

 *  Thread Starter [Paul Goethe](https://wordpress.org/support/users/paul-goethe/)
 * (@paul-goethe)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/values-after-the-loop/#post-3958749)
 * When I said that only $coordSkate2 can be printed I am mean that this have value,
   but the others no.

Viewing 1 replies (of 1 total)

The topic ‘Values after the loop’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Paul Goethe](https://wordpress.org/support/users/paul-goethe/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/values-after-the-loop/#post-3958749)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
