I'm pretty new to PHP. So here's my question.

Username
Password
Email
IP

I need the PHP code(template too if possible) that will insert the persons username, password, email and IP they entered, into my SQL database.

Thanks in advance.