Book: Beginning PHP 4
Hi there guys,
I'm following the steps of the book "Beginning PHP 4", but some things aren't working. In the 3rd chapter, the author makes a checkbox in HTML, named 'choice'. In the PHP file, he simply echo the $choice, without making any variable before. It doesn't work for me and I don't know why.
In order to echo the same variable I have to grab the value of the checkbox ($_POST), attribute it to the variable, and then echo it.
Am I missing something? Or maybe working with the wrong version, 'cause the book is PHP4 and I'm working with PHP5.
Well, hope it's not a drama, 'cause I'm really interested in carry on going with this book :)
Thanx,
Perroud
|