Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

[SOLVED] Writing View As Custom Result To Field

$
0
0
Hi,

I configured a Price field using View As Custom with the following...

$cuttype = urlencode($data["cuttype"]);
$value = file_get_contents("https://www.valucalc.com/pricequery3.php?CutType=$cuttype&Weight=".$data["weight"]."&Quality=".$data["quality"]."&Color=".$data["color"])

...that inserts $data[""] variables into a URL that fetches values from an external database.

Editable example at https://xlforms.net/orderform/lookup_list.php

My question today is how do I write the displayed value to the underlying Price field in the database?

Thanks!

Viewing all articles
Browse latest Browse all 2586

Trending Articles