0

Please help me, i am new to flutter and i have the above problemon my PHP code, see example or line that is being complained about;

    <ul>
            <li><a href="function/logout.php"><i class="icon-off icon-white"></i>logout</a></li>
            <li>Welcome:&nbsp;&nbsp;&nbsp;<a href="#profile" href  data-toggle="modal"><i class="icon-user icon-white"></i><?php echo $fetch['firstname']; ?>&nbsp;<?php echo $fetch['lastname'];?></a></li>
        </ul>

Please help. Thank you.

2
  • There are some array index of $fetch that doesn't exist. Make a <?php var_dump($fetch);?> and check which index is missing Commented Oct 4, 2022 at 8:08
  • Does this answer your question Trying to access array offset on value of type null ? Commented Oct 4, 2022 at 8:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.