D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
epksuofuukz9
/
www
/
admin
/
php
/
Filename :
blog_comment.php
back
Copy
<?php session_start(); include("../includes/functions.php"); if(isset($_POST['submit'])) { $comment_id=$_POST['comment_id']; $comment=$_POST['comment']; $reply=$_POST['reply']; $date=date('Y-m-d'); $reply_id='1'; $response="UPDATE blogs_comment SET c_message='$comment', c_reply='$reply', c_reply_by='$reply_id',c_reply_date='$date' WHERE c_id='$comment_id'"; $run=query($response); confirm($run); if($run) { echo "<script>alert('Your Reply has been succesufully changed');</script>"; echo "<script>window.open('../view_all_comments.php','_self');</script>"; } } ?>