Download WAMP5 (google it), it has Apache 2.4, MYSQL newest, PHP 5 and phpmyadmin.
Install WAMP5.
Start coding.
The best way to learn php is just to do it. Use the internet as a reference book for commands you don't know/understand. Start with templates/pre-made scripts and then edit them and learn.
Some tips:
Don't use $_COOKIE. Use $_SESSION. Its more secure.
Don't use $_GET or $_POST. $_REQUEST can handle both.
Don't run a Mysql query and with one variable name then assign it a new one like a lot of tutorials show, that's plain stupid.
Use good variable names, instead of $time3 make it $time_to_finish, for example.
Use Include statements.
In any input use
strip_tags() and any MYSQL user based queries use
addslashes() in the input. This prevent injection.
Md5 is vulnerable, therefore MD5 something about 5 times.
Comment code often using //
Comment/Reply (w/o sign-up)