Why In my code after I am pressed RUN button, is written "Undefined index, about $tireqty, $sparkqty and $oilqty? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why In my code after I am pressed RUN button, is written "Undefined index, about $tireqty, $sparkqty and $oilqty?

<? https://code.sololearn.com/wD3AGDzxfho6/?ref=app

23rd Jul 2019, 3:29 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
2 Answers
+ 2
Thank You very much, Taste
24th Jul 2019, 5:16 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 1
because the $_POST is empty. if you run this in webserver, and call it from html form it should work
23rd Jul 2019, 4:08 PM
Taste
Taste - avatar