Hi;
I want to fill dropdown from read_data function which has got Model IDs. Firstly I used Read_Data action but it is getting full a table row like:
[{"Party":{"case_id":"950678196"}}] I don't understand why it shown like this and I tried PHP.
I found some infos in faq and I wrote this code without foreach for test (PS Model ID is party):
<?php
$results=array();
$this->data["party"] = $this->get("read_data3.party");
$results= $this->data["party"]["case_id"];
echo $results;
?>
But this code does not show anyting. What is my mistake in this code?
thx
I want to fill dropdown from read_data function which has got Model IDs. Firstly I used Read_Data action but it is getting full a table row like:
[{"Party":{"case_id":"950678196"}}] I don't understand why it shown like this and I tried PHP.
I found some infos in faq and I wrote this code without foreach for test (PS Model ID is party):
<?php
$results=array();
$this->data["party"] = $this->get("read_data3.party");
$results= $this->data["party"]["case_id"];
echo $results;
?>
But this code does not show anyting. What is my mistake in this code?
thx