essential and important JavaScript functions required in website

These are the following important java script functions used in a website. Please note that you may use jquery for all functions Progressive pop ups for Social networking <script> // create social networking pop-ups (function() { // link selector and pop-up window size var Config = { Link: “a.share”, Width: 500, Height: 500 }; // … Read moreessential and important JavaScript functions required in website

important MYSQL syntaxes or query in php program

SQL QUERY SQL stands  for Structured Query Language, it is used for accessing and manipulating  databases. Using SQL one can perform more actions in a database.Such as insert, update, select and delete a records from the database. Essential SQL queries 1. To create a database in mysql  Create database is used to create the database. Syntax CREATE DATABASE database_name; … Read moreimportant MYSQL syntaxes or query in php program

PHP script to find Highest, lowest, count and average numbers in array

To find a highest, lowest, count and average numbers in an array Here, we find the sample php programs to find the find he highest number in an array, similarly lowest number in an array, count of the numbers in an array and average of the numbers in an array. <?php $array=array(‘1′,’2′,’3′,’4’); echo “Given array … Read morePHP script to find Highest, lowest, count and average numbers in array

PHP script for sample contact page for website

Contact page for website <?php include(‘config.inc.php’); class ContactUs { var $arrErrors = array(); var $strSuccess = ”; public $strSelect=null; public $objResult=null; var $objConfig = null; var $objDbConn=null; var $intRandSiteLimit = 35; var $arrRandSites = array(); var $strName = ”; var $strPhone = null; var $strEmail = ”; var $strContent = ”; var $strReferrer = null; … Read morePHP script for sample contact page for website

How to create user login, forgot password and logout page using php script

To create a login page in php Note: Create a table tbl_login with uname and pwd //config.inc.php <?php class Config { public $dbHostname = ‘localhost’; public $dbUsername = ‘root’; public $dbPassword = ‘xxx’; public $dbName = ‘dbname’; } ?> //index.php <?php session_start(); include(“config.inc.php”); class Login { public $strUsername = null; private $strPassword = null; public $arrErrors … Read moreHow to create user login, forgot password and logout page using php script