Submit checkbox value to MySQL

Below example states that checkbox values can be stored into MySQL database using PHP program. Step 1: Create a table in MySQL with following screen shot. (Table name : Booked_Status) Step 2: Create connection string / configuration page as following example and name it ‘config2.php’ <?php $host=”localhost”; $username=”root”; $password=””; $dbname=”demo”; $con=mysql_connect(“$host”,”$username”,”$password”); mysql_select_db(“$dbname”,$con); ?> Step 3: […]

Share

Submit checkbox value to MySQL Read More »

Gantt chart and PERT Chart

1. A Gantt chart: A Gantt chart is developed as a production control tool in 1917 by Henry L. Gantt, an American engineer. Gantt chart is frequently used in project management, this chart provides a graphical explaination of a schedule that helps to plan,research, analyse, coordinate, and track specific tasks in a project. To create

Share

Gantt chart and PERT Chart Read More »

Password recovery example using php from MySQL

To retrieve the password from your MySQL Database with using PHP script. Step 1 : Create a table called “users” in your MySQL database with following structure for the same. Step 2: Create a configuration file called ‘config.php’ which contains connection string and local host / remote server path. <?php $connection = mysql_connect(‘localhost’, ‘root’, ”);

Share

Password recovery example using php from MySQL Read More »

Responsibilities of a typical Web developer

Before we begin about responsibilities of web developer, let’s understand more about what are the skills and qualifications are required to become a web developer. In web developing, various skills are required to master the huge world of web. Hence one needs to learn various technologies as following.   For Designing: HTML, HTML5, CSS, CSS5,

Share

Responsibilities of a typical Web developer Read More »

PHP-Database Programs

Following are the various PHP  programs to demonstrate Database  connections. 1. PHP Program to demonstrates whether the connection to mysql database is active or not. <?php $dbhost = ‘localhost’; $dbuser = ‘root’; $dbpass = ”; $db = ‘mars_db’; $conn = mysql_connect($dbhost,$dbuser,$dbpass); if (!$conn) { die(‘Could not connect: ‘ . mysql_error()); } else { echo ‘Connected

Share

PHP-Database Programs Read More »

Skill India

Skill India was launched by Indian Prime Minister Mr. Narendra Modi on 16th July 2015 to train over 40 Crore youth of this country by 2022 in different fields and sector. Skill India is initiated by Government of India and it includes following.   National Skill Development Mission. Pradhan Mantri Kaushal Vikas Yojana (PMKVY). National

Share

Skill India Read More »

PHP Array and Compressing Data

Following example shows that use of an array to sort records in ascending and descending order using PHP program. <?php $arr = array(‘Apple’, ‘Zensor’, ‘MITIndia’); echo “<br><b>Without sorted values are..</b><br>”; echo $arr[0], “<br>”; echo $arr[1], “<br>”; echo $arr[2], “<br>”; echo “<br><b>Sorted values are..</b><br>”; sort($arr); $len=count($arr); for($i=0; $i<$len; $i++) { echo $arr[$i], “<br>”; } echo “<br><b>Reverse

Share

PHP Array and Compressing Data Read More »

Share
Scroll to Top