I’m fairly new to PHP and MySQL. Here’s what I’m trying to accomplish:
I have two tables:
- suppliers
- delMenu
The common field in each is suppID (the supplier ID). I have two variables being passed from the previous page via a form post
- delPC (delivery Postal Code)
- serviceType
These are both fields that are in the table delMenu. I need to join the tables delMenu and suppliers, where all records in delMenu match delPC and serviceType from the form submitted.
I have looked at some info/tutorials on MySQL Joins, but haven’t really been able to make much sense as far as my needs go.
Any help is greatly appreciated.