I've currently got a page that receives form data, I have two pieces of post information -
$country_name = $_POST[“country_name”];
$price_point = $_POST[“price_point”];
I have a spreadsheet currently that has this information in columns
I need to be able to run a function that uses the post variables and finds the corresponding value from the array.
I haven't created an array yet, as I don't know the best way to format this array. This is where I'm struggling..
Example output would be;
Post value for country is US. The price point is 2. The value would be 1.5.
Major love for anyone that can help me out with the below!
Thanks
