• 0

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

What's wrong with this? [duplicate]

I'm building a e-shop with woocommerce. Now i'm modifying the order_detail.php. I have changed the code this way. Now i have e blank page. Can somone please help me and explain what's wrong?

                                          }else          {                                  
} ?>
Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]

It looks like you aren't opening/closing your php code properly. Take a look at this revised code:


Anytime you're switching between PHP and HTML, you need to be sure to wrap your php code in an opening '' and a closing '?>'. You'll see an example of this on the line that says

You can learn more about this here.

see demo
  • 0
Reply Report