This eCommerce exercise is giving me an error, please see if you can help ?
Everything works fine until I do the final checkout.
These are the error lines :
Notice: Undefined variable: custid in C:\Xamp\htdocs\chapter15\c
hp on line 71
I thought it is already defined in line 66 ? (or is mysql_insert_id() not imported properly ?)
Notice: Undefined variable: customers_custnum in C:\Xamp\htdocs\chapter15\c
hp on line 90
customers_custnum is from the eCommerce database
Another problem is that the temporary file (createtemp.php) is not emptied and items keep piling up every time I go back to test.
Perhaps this problem will dissappear when the previous problem is solved ?