perfume:
PHP AND MYSQL WEB DEVELOPMENT is a great book for learning PHP and MYSQL.
However, from looking at your code it doesn't appear that you have read the book very carefully and/or worked through the examples in the book.
To start with your code:
<form name=form1 action=formA.php method=post>
isn't correct.
It should be:
<form action="formA.php" method= "post">
PHP code doesn't make forms. PHP code allows you to take information you enter into a form and do something with that information.
You create your actual form using HTML.
Did you work through the examples in the book for Bob's Auto Parts and Book-O-Rama?
I don't mean did you copy the code from the CD and then run it.
You need to sit down and actually write/input the code yourself. You will make some errors and then when you try and run the code you will get some kind of error message. Then you have to figure out where your error is and fix it.
If you want to learn how to write code in PHP or any other computer language, you have to actually write the code. The more code you write, the more you learn. There just isn't any easy way around it.
You won't get very far learning how to program in any language if you just copy sample scripts from Web sites and use them.
I don't know if this has helped you any or not, but I think if you really work through the book and actually do the projects you will be surprised at how much you will actually learn.
Anyway, I wish you the best of luck.