Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Help with php basic

$
0
0

Hey! I need help with this code. I'm trying to get write every answere to be in other line when I get it to my file. SO where do I have to put \n or whatever to get every post in new line. 

Im in hurry so can you please help me quic.

if (isset($_POST["objava"]))
 fwrite($fh,$_POST["objava"]);
  if (isset($_POST["vpr01"]))
 fwrite($fh,$_POST["vpr01"]);
	if (isset($_POST["vpr02"])) 	
 fwrite($fh,$_POST["vpr02"]);

		if (isset($_POST["vpr03"])) 	
 fwrite($fh,$_POST["vpr03"]); and so on....

Viewing all articles
Browse latest Browse all 13200

Trending Articles