$strsql = "insert into 'users' (username,password,firstname,lastname,companycode, businesscode) values
The line mysql_query($strsql) is what is throwing the parse error.
Also why I am at it I had a .php file that had a "submit button" in it and when I clicked the submit button the form would only refresh. I had the action attribute of the form set to point to 'action="newuserquery.php".
When I clicked the submit button on the form in the .php file the browser would go to this in the address bar
"http://localhost/newuserinput.php/newuserquery.php" and the 'newuserinput.php' page would refresh itself.
I am probably rambling at this point. But just one more thing.
when I changed the newuserinput to an html extention the submit button worked properly.