Hello
Thank you for the nice script.
When i am trying to retrieve the url of a image or a PDF file i am getting a warning like below.
Warning: Illegal string offset 'url' in C:\xampp\htdocs\development..............................................fileName.php
i have used below code to retrieve the url of the image.
$saved_data = get_post_meta($post->ID,'image_field_id',true); echo '<img src="'.$saved_data['url'].'">';
Hello
Thank you for the nice script.
When i am trying to retrieve the url of a image or a PDF file i am getting a warning like below.
Warning: Illegal string offset 'url' in C:\xampp\htdocs\development..............................................fileName.php
i have used below code to retrieve the url of the image.
$saved_data = get_post_meta($post->ID,'image_field_id',true); echo '<img src="'.$saved_data['url'].'">';