Hi,
i'm starting with API commands in modx
i'm trying to extract data from a migx table called "prog_migx" with a snippet.
my table has multiples lines and four rows called "name", "email", "country", "comment"
this simple code give me the content of the entire table.
like this [{"MIGX_id":"1","name":"deroy","email":"
[email protected]","country":"ireland","comment":"yep !"},....]
$page = $modx->getObject('modResource',4);
$output = $page->getTVValue('prog_migx');
echo $output;
but now, i want to read a specific row, of a specific line.
is anybody can help me ?
thanks.