copy ($FILES['imagefile']['tmp_name'], "../TShirts/".$FILES['imagefile']['name'])
This code works if the TShirts folder is in the next folder but what if I have an admin folder I want to put the insert code in and the images go into TShirts which is in an Image folder?
this code is in /admin/
copy ($FILES['imagefile']['tmp_name'], "/Images/TShirts/".$FILES['imagefile']['name'])
Warning: Unable to open '' for reading: No such file or directory in add_deltshirts.php on line 36
Could not copy