# The 'all' value and skipping tables

**URL:** <https://forum.kirupa.com/t/the-all-value-and-skipping-tables/283032>\
**Category:** programming\
**Created:** [March 1, 2009, 8:54pm UTC](https://forum.kirupa.com/t/the-all-value-and-skipping-tables/283032 "2009-03-01T20:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drummer392](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Post date:** [March 1, 2009, 8:54pm UTC](https://forum.kirupa.com/t/the-all-value-and-skipping-tables/283032/1 "2009-03-01T20:54:15Z")

</div>

Okay, so I have a form ([HERE](http://www.essentialaudioinc.com/portfolio_sort.php)) with 5 drop-down menus that grab information from the database based on the information chosen. I would like to know how to code the PHP so that if a user chooses the the value ‘all’ it pretty much skips trying to read that table in the database.

Thanks
