Welcome Guest, Not a member yet? Register   Sign In
Issues with code
#1

Hello!

I would like to use this code for profile within my code but I get errors of undefinfed variables. Here is the code:

 <div class="avatar">

                            <img alt="<?php print $this->session->userdata('user_name'); ?>" src="<?php print HTTP_IMAGES_PATH; ?>user-default.jpg">
                        </div>
                    </div>
                    <div class="card-body info">
                        <div class="title">
                            <a href="<?php print site_url() ?>profile"><?php print $userInfo['full_name']; ?></a>
                        </div>
                        <div class="desc"> <a target="_blank" href="<?php print site_url(); ?>"><?php PRINT APPLICATION_NAME; ?></a></div>        
                        <div class="desc"><?php print $userInfo['email']; ?>, <?php print $userInfo['contact_no']; ?></div>      
                        <div class="desc"><?php print $userInfo['address']; ?></div>               

I get errors about the php but dont want to delete them because I feel its important. How do I edit the php inserts so they fit my code?

Heart Heart ,
Mekaboo
Reply


Messages In This Thread
Issues with code - by Mekaboo - 06-11-2019, 09:04 PM
RE: Issues with code - by Wouter60 - 06-11-2019, 10:56 PM
RE: Issues with code - by Mekaboo - 06-12-2019, 09:47 AM
RE: Issues with code - by InsiteFX - 06-12-2019, 03:40 AM
RE: Issues with code - by Mekaboo - 06-12-2019, 09:48 AM
RE: Issues with code - by jfri - 06-13-2019, 06:20 AM
RE: Issues with code - by Mekaboo - 06-13-2019, 06:55 PM
RE: Issues with code - by InsiteFX - 06-14-2019, 03:39 AM
RE: Issues with code - by Mekaboo - 06-16-2019, 08:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB