I am following a step by step guide on W3schools website on how to upload a file. The only thing I don’t understand is where does the php code go because if I try to put them below the html then I get notices stating “file” is undefined.
Does anyone know where the php code goes? If somebody could provide a sample of the layout of the code from W3schools then it would be very helpful. I want to see what it all is supposed to look like but I keep getting notices.
Click here to view the file upload steps on the W3schools website.
Thank you
1 Answer