I'm quite new to PHP and not familiar at all with using databases, so bear with me if you can. I have a site filled with comparison tables that basically have 3 values per product:
$product + $delivery = 'price'
I'm familiar with making a simple function that sums and echos the variables, but I want something more specific.
Basically, for $product, I want to set the value on-page, but for $delivery, I want to pull the variable value from some sort of database, so it sort of looks like:
$15.00 + $delivery_company_one = 'price'
How would I go about doing this? What should I specifically look into and learn? Any references would be much appreciated.