Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8081475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:44:22+00:00 2026-06-05T16:44:22+00:00

I have a dynamic ul list from a database being outputted as categories however

  • 0

I have a dynamic ul list from a database being outputted as categories however there is one category I don’t want listed in this particular list. Is there a sql select that stops from showing one value in the field? or can I write an if statement after the select query that targets the list to not show that one item?
If anyone can help then I’d greatly appreciate it!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:44:23+00:00Added an answer on June 5, 2026 at 4:44 pm

    SQL provides where clauses for you to filter the results you’re selecting.

    Assuming your table is called category and its primary key is id, add something along the lines of where category.id != <id of category you don't want> to your query. If you already have a where clause, append another condition with and instead: and category.id != ....

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I populate web form with dynamic list of exams from database. I want user
I have a dynamic list of items pulled from a database, where the list
I have created an editor template for representing selecting from a dynamic dropdown list
I'm creating a dynamic todo list. The list is downloaded from a local database
I have a drop-down list which gathers data from the database and a textbox
I have a dynamic list of items that will be used to POST information
I have created a dynamic list picker script using Jquery 1.3 and PHP that
I have created a project in Dashcode, inserted a List control, enabled a dynamic
I have dynamic web page with JS. There is a <textarea> and a Send
I have dynamic array filled with bytes, which are read from .raw file with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.