I have two scripts, one, update.php, takes updated info from row in table and thru a _POST the row is updated by updated.php script. The two scripts are posted on pastebin here: [PHP] Update.php - Pastebin.com. The trouble I'm having is when I fill in the updated form and hit submit on the update.php script I get this error message -
Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in /var/www/inventory/updated.php on line 37
Being new to php & mysql this has thrown me. I hope someone can take a look and point me in right direction. I also posted the schema for the table in case that would be helpful.