I hope someone can help me - I am out of my depth!
I have created an array called $data in a custom code in the setup tab box using SQL. When I print_r the array I get:
Array ( [0] => stdClass Object ( [asset_id] => 12 [type_of_resource] => OhBot [start_date] => 2018-08-01 00:00:00 [end_date] => 2018-08-13 00:00:00 [request_delivery] => 1 ) )
I want to be able to echo out the values onto the form, but when I try:
<?php echo $data -> description ?> there is nothing there
Many thanks
Mikki
I have created an array called $data in a custom code in the setup tab box using SQL. When I print_r the array I get:
Array ( [0] => stdClass Object ( [asset_id] => 12 [type_of_resource] => OhBot [start_date] => 2018-08-01 00:00:00 [end_date] => 2018-08-13 00:00:00 [request_delivery] => 1 ) )
I want to be able to echo out the values onto the form, but when I try:
<?php echo $data -> description ?> there is nothing there
Many thanks
Mikki