• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why this error appears stdClass::$pic_item?

#7
Annnnnnnd ... there's your answer. $pic_item is a string, not an object with a nested pic_item property.

The code inside your loop only needs to be
Code:
<img src="<?php echo base_url('assets1/images/slider/'.$pic_item);?>">
Reply


Messages In This Thread
RE: Why this error appears stdClass::$pic_item? - by ciadmin - 02-27-2017, 08:34 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.