Warning Undefined variable userid in C Apache24 htdocs MIS user pages user change password php on line 158

0 votes

I'm running a PHP script and continue to receive errors like:


Warning: Undefined variable $userid in C:\Apache24\htdocs\MIS\user\pages\user_change_password.php on line 158

My Line No 158  (HTML & PHP) look a like:-


<div class="form-group"><label for="userid" style='font-weight:bold;color:#996666;'>User ID:-&nbsp;</label><?Php echo '<font color="#315E8C"><strong>'. $userid.'</strong></font>'?>


What is the meaning of these error messages?

How to fix this?

Jul 9, 2021 in PHP by kirankumar

edited Mar 4, 2025 345 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP