Buy Now
Sign in

WORKING WITH JSON DATA RETRIEVED FROM DATABASE (READ DATA)

atanunu , August 29 2017
A
atanunu
Please how do I JSON decode, data retrieved from database using the read data element (all matching records retrieved.)
Attachments
screenshot-2017-08-29-04-34-49.png
screenshot-2017-08-29-04-34-49.png
(475.14 KiB)
279 Downloads/Views
GreyHead
HI atanunu,

Please try a Custom Code action using json_decode()

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
A
atanunu
Sir, please I have tried many codes but no success. Kindly assist



<?php
$this->data["SCHREresult"] = json_decode($this->get("read_data5"), true);
?>

<?php
$this->data["SCHREresult"] = json_decode($this->get->read_data5), true);
?>
S
simelas
name_of_the_filed/json within "SPECIAL FILEDS" of the read data action
healyhatman
{var.jsonde:read_data5.model.field}
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman