Form action is not using the PHP file?

Solution:
All attributes in HTML need quotes around them. Technically, you can use single quotes or double quotes, but they need something to mark them off as attributes. This is missing several quotes:
<form id='csv' action=readCSV.php method=post enctype='multipart/form-data'>
And should be this:
<form id="csv" action="readCSV.php" method="post" enctype="multipart/form-data">
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: integrity constraint violation: 1452 cannot add or update a child row: a foreign key constraint fails
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.