Welcome Guest, Not a member yet? Register   Sign In
How to view an existing document?
#2

For one the view needs to be the last thing that you load.

You want to do something like the below code:

PHP Code:
$data['photo'] = 'c:\xampp\user\photos\user.jpg';
$data['docs']  'c:\xampp\user\docs\userdoc.ext';

$this->load->view('view_name'$data); 

Then in your view file just echo out $photo and $docs where you want them.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How to view an existing document? - by InsiteFX - 03-10-2020, 08:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB