Hello to all at PHPbuilder, I am a newbie to PHP 😕 but hope someone can help with this problem.
I have a database that stores packhouse product movements. i.e
Tables are:
Deliveries, packing process and Storage and finally Dispatch
One of the query pages I have put together needs to have a search capability to analyse data:
User is offer: Date, Start, Finish, Customer, Source, Location, PackDate, Checkedby.
Now the user may only choose to enter a Date and a customer
(Just wants to know whether a customer order was dispatched on the given date perhaps)
How can I build the $query = string that looks for existance of values and then only includes those in the $Query string......?
Hope someone can help me as I have been pondering this for sometime with any real success.
Thanks Fletch