Since postedname is the name of the input box, I wasn't sure if it would allow it to be a variable in the html form itself.
Anyways thanks thirteen that was what I needed. I knew it was a stupid simple syntax error...would help to actually know the language but can get by. Now since that was basically the only thing holding me back I can finish the entire project.