I'm trying to make a website with a form where users put in information and then the information is written to a <div> like a bussinesscard.

I've done it in JavaScript and now I'm trying to make it work in PHP but I'm stuck, so I need all help I can get! I think I made the variables declaration right, but how do I make the "style.fontFami ly, style.backgroun dColor" etc. and the innerHTML to work?

This...