in reply to Can anyone adjust my script correctly:)
Looks like you could use this form to try and hire a CGI programmer! :-)
Seriously, follow the other monks' advice, use CGI;, and don't type esle.