Jump to content

Recommended Posts

I imagine I just need to store which pages are active and inactive.

Yes that is what you'll need to do. If you're storing your pages within the database then add a field called active to the table that stores your pages. If you want the page to be visible set it to 1. Set to 0 when you dont want it to display.

 

In your PHP code you check to see if the field named active has 1 or a 0. If the field is set to 0 the don't display the link/page, if its set to 1 display the link/page.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.