mysql - stop from outputting one item in dynamic ul list in php -


i have dynamic ul list database being outputted categories there 1 category don't want listed in particular list. there sql select stops showing 1 value in field? or can write if statement after select query targets list not show 1 item? if can i'd appreciate it!

sql provides where clauses filter results you're selecting.

assuming table called category , primary key id, add along lines of where category.id != <id of category don't want> query. if have where clause, append condition and instead: and category.id != ....


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -