Hello all,
I have been messing around with the API and PHP to try and display a list of records.
I have been sort of successful in retrieving records but when it is linked to another table it just shows the Record ID instead of the value from the other table. Anyway around this?
For instance in the code below $model is returned as the Record ID instead of the Model Name.
if ( array_key_exists ( 'Model', $fields ) ) {
echo '<h2>Model</h2>';
echo '<ul>';
foreach ( $fields[ 'Model' ] as $model ) {
echo '<li>' . $model . '</li>';
}
echo '</ul>';
}
Thanks.
