Jump to content

sending feedback with line by line


deepakram

Recommended Posts

here is my code:

 

<?php

$Name = $_POST['name'] ;

$email = $_POST['email'] ;

$message = $_POST['message'] ;

$rating1 = $_POST['rating1'];

$rating1comments = $_POST['rating1comments'];

$message1="You have new feedback from".$email."xxxxx".$message."The service is".$rating1."comments Given as : ".$rating1comments."";

 

 

mail( "[email protected]", "Feedback Form...", $message1, "From: $email" );

echo'Thanks You for your feedback...<a href="feedback.php" title="Back to Feedback form...">Back</a>'

?>

 

 

problem:

 

this code is perfectly workingwhile sending the feedback to email account but i want all the details of the inserted data to come by line by line instead all in one paragraph.

 

any help would be appriciated

 

thanks in advance

deepak

Link to comment
https://forums.phpfreaks.com/topic/158588-sending-feedback-with-line-by-line/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.