PHP variable not working?

This is my PHP code. <!DOCTYPE HTML><html lang="en"> <head> <link rel="stylesheet" type="text/ - Pastebin.com

This is my website : http://potatoreviews.epizy.com/

I tested it out using wampserver

If i try it at my website

It is probably not the mySQL database issue because i can log in just find and the userbar updates just fine?

Is the $_SESSION['UserID'] variable populated correctly? And does the SQL query you’re feeding it to return any results? Adding some var_dumps to key points in the code can help you figure out why the variables are empty.

Oops i got it to work. Apparently the SQL i did using the one in MySQL can’t work for the one in epizy. Modified some things and it works. :smiley: Btw suddenly my website is unable to enter and leads to a http://potatoreviews.epizy.com/?z is there any way i can resolve this.

It’s working fine for me now. Do you still experience this problem?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.