re #1: To redirect: CGI.pm is your friend, read
use CGI or die;.
re #2: Yes, you are... :^)
re #3: excellent web site which will allow you to learn SQL by submitting queries. They will run them and show you results. Really cool:
http://sqlcourse.com/
pmas
To make errors is human. But to make million errors per second, you need a computer.