alter is being used to add new rows.in your case, update or insert must be the solution.
First, try to initialize variables and be sure you are getting the names by post.Post will return you the values and values will be assigned the variables.
Second, if you want to insert values to table:
Code:
$sql="INSERT INTO Blad1 (Naam, Inkoop, Verkoopprijs, Aantal, Verkocht) VALUES ('$naamveld',
Leave a comment: