Undefined index | Sololearn: Learn to code for FREE!


Undefined index

I got undefined index error on my php code, how to fix it

1/14/2021 11:48:33 PM

Goodboy xD

2 Answers

New Answer


Post your code here ...


Open php. ini file in your favourite editor and search for text “error_reporting” the default value is E_ALL. You can change it to E_ALL & ~E_NOTICE. Now your PHP compiler will show all errors except 'Notice. All the best!