🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Dochian Thomas
    Dochian Thomas
    4,846 Points

    How do i solve Challenge Task 1 of 1 for the Pagination Course?

    Posted March 25, 2016 9:51pm by Dochian Thomas
    Dochian Thomas
    4,846 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    5 Answers

  • Leigh Maher
    Leigh Maher
    21,830 Points

    Ok to use this calculation?

    Posted July 10, 2015 3:27pm by Leigh Maher
    Leigh Maher
    21,830 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Calculating Shirts from Page Number

    4 Answers

  • MUZ140127 Munyaradzi Muduka
    MUZ140127 Munyaradzi Muduka
    10,337 Points

    task 1 of 1 on paginating a list:controller

    Posted April 2, 2015 4:58pm by MUZ140127 Munyaradzi Muduka
    MUZ140127 Munyaradzi Muduka
    10,337 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Coding the get_products_count Function

    1 Answer

  • Mai Lon Ross
    Mai Lon Ross
    5,891 Points

    Fewer LInes

    Posted March 11, 2015 6:40am by Mai Lon Ross
    Mai Lon Ross
    5,891 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Coding the get_products_count Function

    3 Answers

  • Jerry Rodriguez
    Jerry Rodriguez
    5,330 Points

    Stuck on PHP Stage 7 - Adjusting Invalid Numbers

    Posted February 18, 2015 1:18am by Jerry Rodriguez
    Jerry Rodriguez
    5,330 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    2 Answers

  • MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points

    stage 7 challenge 1

    Posted February 14, 2015 12:07pm by MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    1 Answer

  • MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points

    stage 7 challenge 1

    Posted January 26, 2015 7:46am by MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    1 Answer

  • Phil Ward
    Phil Ward
    4,204 Points

    Enhancing a PHP application - not sure what should be changed in this foreach loop

    Posted December 24, 2014 4:33pm by Phil Ward
    Phil Ward
    4,204 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    2 Answers

  • John Sanchez
    John Sanchez
    3,325 Points

    [SOLVED] Header Redirect Not Working

    Posted November 29, 2014 7:15pm by John Sanchez
    John Sanchez
    3,325 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Larger Page Numbers

    1 Answer

  • Evan Shellborn
    Evan Shellborn
    4,827 Points

    Clean URL when ?pg is specifically set to 0

    Posted November 4, 2014 10:03pm by Evan Shellborn
    Evan Shellborn
    4,827 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Page Numbers

    2 Answers

  • Bethany Norton
    Bethany Norton
    4,818 Points

    I think I might be trying to do this in the wrong section of code. Example of code below

    Posted October 16, 2014 3:49am by Bethany Norton
    Bethany Norton
    4,818 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    2 Answers

  • Jerry Earls
    PLUS
    Jerry Earls
    Courses Plus Student 5,598 Points

    I do not understand what is being asked of me in this challange

    Posted September 25, 2014 10:50pm by Jerry Earls
    Jerry Earls
    Courses Plus Student 5,598 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    1 Answer

  • Atiba Lashley
    Atiba Lashley
    5,724 Points

    $_GET["pg"]; is underfined

    Posted August 27, 2014 12:23am by Atiba Lashley
    Atiba Lashley
    5,724 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Retrieving the GET Variable

    1 Answer

  • Amin Khoshzahmat
    Amin Khoshzahmat
    12,342 Points

    IF statement

    Posted July 23, 2014 8:03am by Amin Khoshzahmat
    Amin Khoshzahmat
    12,342 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    3 Answers

  • Don Shipley
    Don Shipley
    19,488 Points

    Should be moved

    Posted July 21, 2014 6:06pm by Don Shipley
    Don Shipley
    19,488 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    0 Answers

  • Don Shipley
    Don Shipley
    19,488 Points

    Challenge task 1 of 1 need help

    Posted July 20, 2014 11:50pm by Don Shipley
    Don Shipley
    19,488 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    6 Answers

  • Don Shipley
    Don Shipley
    19,488 Points

    The $numbers array in the code below contains one thousand numbers. I need to count how many of th

    Posted July 20, 2014 9:10pm by Don Shipley
    Don Shipley
    19,488 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    4 Answers

  • Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points

    Formula for last page values to being 8 per page?

    Posted July 18, 2014 8:27pm by Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Calculating Shirts from Page Number

    3 Answers

  • Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points

    The get_products_subset function was never defined in products.php??

    Posted July 18, 2014 8:12pm by Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Calculating Shirts from Page Number

    2 Answers

  • Andreas cormack
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andreas cormack
    Python Web Development Techdegree Graduate 33,011 Points

    You are including too many numbers in category (c). Please try again.

    Posted July 6, 2014 6:36pm by Andreas cormack
    .a{fill-rule:evenodd;}techdegree seal-36
    Andreas cormack
    Python Web Development Techdegree Graduate 33,011 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    2 Answers

  • Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points

    Challenge question: get_products_all or $products

    Posted May 15, 2014 7:37am by Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Retrieving the GET Variable

    1 Answer

  • Lewis Cowles
    Lewis Cowles
    74,902 Points

    poorly explained or check not working

    Posted April 27, 2014 10:43pm by Lewis Cowles
    Lewis Cowles
    74,902 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Coding the get_products_count Function

    0 Answers

  • Roba Santjiego
    Roba Santjiego
    2,356 Points

    some questions about video

    Posted April 17, 2014 7:48pm by Roba Santjiego
    Roba Santjiego
    2,356 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Retrieving the GET Variable

    2 Answers

  • Ben Harrison
    Ben Harrison
    5,521 Points

    The $numbers array.

    Posted March 17, 2014 3:55pm by Ben Harrison
    Ben Harrison
    5,521 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    2 Answers

  • Logan R
    Logan R
    22,989 Points

    Easier for products

    Posted February 26, 2014 10:34pm by Logan R
    Logan R
    22,989 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Calculating Shirts from Page Number

    0 Answers

  • Jean-Charles Matthey
    Jean-Charles Matthey
    6,286 Points

    simpler math

    Posted February 9, 2014 9:11pm by Jean-Charles Matthey
    Jean-Charles Matthey
    6,286 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Calculating Shirts from Page Number

    0 Answers

  • Gareth Redfern
    Gareth Redfern
    36,217 Points

    PHP Code Challenge Help

    Posted February 8, 2014 8:58am by Gareth Redfern
    Gareth Redfern
    36,217 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Paginating a List: Controller
    • Adjusting Invalid Numbers

    4 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.