You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'].'">';
The text was updated successfully, but these errors were encountered:
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'].'">';
The text was updated successfully, but these errors were encountered: