Why do I get undefined variable error while the variable is already defined? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do I get undefined variable error while the variable is already defined?

I get this error in php, it says : Undefined variable message in ...... , but I already defined the variable in another file and I also require_once that file. Please help, so I can finish my login form.

9th Jun 2018, 7:38 AM
john chagaz
john chagaz - avatar
1 Answer
+ 6
Please post your code.
9th Jun 2018, 7:39 AM
Hatsy Rei
Hatsy Rei - avatar