From fdebeba9a1a8f9b70c2ebfb4298f01f2de5c1540 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Mon, 25 Apr 2016 10:18:16 +0530 Subject: added author and publisher information in mail content --- comment.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/comment.php b/comment.php index ecd867b..fc07da8 100755 --- a/comment.php +++ b/comment.php @@ -31,7 +31,8 @@ if (isset($_POST['type']) && isset($_POST['comment'])) A new comment has been posted.

Type: {$types[$_POST['type']]}
- Book: {$row->book}
+ Category: {$category}
+ Book: {$row->book} (Author: {$row->author}, Publisher: {$row->publisher})
Chapter: {$row->chapter_name} ({$row->chapter_no})
Example: {$row->example_caption} ({$row->example_no})

@@ -39,7 +40,7 @@ if (isset($_POST['type']) && isset($_POST['comment'])) Link: http://scilab.in/cloud_comments "; - $from = "textbook@scilab.in"; + $from = "email@email.in"; $headers = "From: " . $from . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; -- cgit