Creating simple Guestbook with PHP and MySql

Most of the website having guestbook in different way to track guest feedback and make their website more user friendly for their visitor. So next time user came to their  website they can feel the change what they have suggested in the guestbook. What is the Guestbook ? Guestbook is the form which will collect […]

Changing javascript date/time to server date/time using php

Simple way to change JavaScript date/time to server date/time, first we are going to pass php date format into javascript date function. <script language="javascript"> var serverDate = new Date("<?php echo date("Y/m/d");?>"); var systemDate = new Date(); function currentDateTime() { document.getElementById("divCurrentSYSTEMDate").innerHTML = systemDate; document.getElementById("divCurrentSERVERDate").innerHTML = serverDate; } </script>