The Comment Box is very Important to the Website. & Every developer are need to create a Comment Box. And Now I have provide the code of Comment box.... Code of Comment Box.. Step-1:- Create a 4 Php Pages.. 1- index.php 2- post_comment.php 3- Persistence.php 4- clear.php Step-2:- Write the Code of (Index.php) Page. <?php require('Persistence.php'); $comment_post_ID = 1; $db = new Persistence(); $comments = $db->get_comments($comment_post_ID); $has_comments = (count($comments) > 0); ?> <!DOCTYPE html> <html lang=en-US> <head> <title>Smashing HTML5!</title> <meta charset=utf-8 /> <link rel=stylesheet href=css/main.css type=text/css /> </head> <body id=index class=home> <section id=comments class=body> <header> <h2>Comments</h2> </header> <ol id=posts-list class=hfeed<?php echo($has_comments?' has-comments':''...
Website Footer Code below here.. Step-1:- Create a HTML Page . 1 - index.html Step-2:- Write the Code of (Index.html) Page. <!DOCTYPE html> <html> <head> <title>Footer</title> <link href=style.css rel=stylesheet type=text/css media=all /> </head> <body> <div class=a2> <div class=a3> <div class="footer one"> <h3> About Us</h3> <p>this company are provide the improved condition on his based the condition check system for every movent. that can be informed the way of the following instraction of the condition. for every movent condition.</p> </div> <div class="footer two"> <h3>Social media</h3> <ul> <li><a class=f href=#><i></i>Facebook</a></li> <li><a class=t href=#><i></i>Twitter</a></li> <li><a class=g href=...
Comments
Post a Comment