Never mind it seems I made my own mistake on calculator.html with one of the names, its fixed and now working. I should have looked at calculator.html before I posted this I'm greatly sorry!
thank you HartleySan for the assistance.
see it seems I didn't explain myself well!
thats what I was trying to explain in my post. I tried that, exactly what the book told me, but it keeps giving me the same error! if I try it without the S it works but why is that?
Hello
I love Mr. Ullman's books!
98% of the time its easy to understand and learn.
However I think this might be an error from printing or just a older php thing or something on my side.
OK in chapter 4 pages 74-80 you have to create the sales cost calculator.
Well when you get down towards the end of making the calculations part in handle_calc.php it asks you to add $payments = $_POST['payments']; as the payment part. However I get errors after I get it all done. The errors say the following!
After reading and going through the book I took out the s in payments in $payments = $_POST['payments']; so in the end it ends up looking like this $payments = $_POST['payment']; after I get rid of that s it works fine. Am i missing something or did I not add another code yet. here is my code for the file its the handle_calc.php. in a spoiler tag/code tag!
I hope I made sense thank you
---edit post----
Oh almost for got
I use Wamp server for my php and everything
didn't like xammp!
I also use the newest version of php, mysql and what not!