I’m trying to make a simple php program where you can type in one of the 4 products and it then prints out the price of that product when you type it in the textbox. I keep getting an undefined index for some reason even when I type an item in the box and press enter. For some reason I think that php is not seeing “textbox” as the textbox and just thinks I am trying to access the non-existent index “textbox” in the array.
https://pastebin.com/raw/4r36H8jb
Notice : Undefined index: textbox in /products.php on line 19