Easiest question in php

Yes:

fwrite($file,trim($_POST['banadd'])."\r\n");

I need to add $_POST['banadd']to $_POST['nick']– how do I do that?


Answer 1, authority 100%

fwrite($file,trim($_POST['banadd']) . trim($_POST['nick']) ."\r\n");

In php, a period is a concatenation (gluing) of a string


Answer 2

fwrite($file,trim($_POST[‘banadd’]) . ‘ ‘ . trim($_POST[‘nick’]) .”rn”);
^^ do like this if you need a space