CodeIgniter Forums
accessing a $_SESSION variable is failing - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: accessing a $_SESSION variable is failing (/showthread.php?tid=76964)

Pages: 1 2


RE: accessing a $_SESSION variable is failing - InsiteFX - 07-17-2020

The stdClass is an object not an array try this and see what you get back.

PHP Code:
var_dump($field_info->upload_path);
exit(); 



RE: accessing a $_SESSION variable is failing - richb201 - 07-17-2020

using -> instead of array[ ] seems to work. Thx.