Title: &#8220;
Last modified: August 24, 2016

---

# “

 *  [GabrieleGabriele](https://wordpress.org/support/users/gabrielegabriele/)
 * (@gabrielegabriele)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/0-374/)
 * Hello, please help me, I’m getting mad!
    I’m using your plugin to insert from
   a database a list of items. After 5 items I would like to change page using `
   <!--nextpage-->`. So I wrote the following code: … `if(($count % 5) == 0) { echo"
   <!--nextpage-->"; }` … The problem is that `<!--nextpage-->` is ignored! Can 
   you help me? Or can you suggest another way to obtain the same result? Thanks
   a lot Gabriele
 * [https://wordpress.org/plugins/shortcode-exec-php/](https://wordpress.org/plugins/shortcode-exec-php/)

The topic ‘“’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [GabrieleGabriele](https://wordpress.org/support/users/gabrielegabriele/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/0-374/)
 * Status: not resolved