Articles by "php"
Showing posts with label php. Show all posts
Print Friendly and PDF
no image
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
How to print Ul Li break it every 7 elements by using for loop in PHP.In this tutorial taking 100 elements and print it all number.

Php Code 

<!DOCTYPE html>

<head>

<title>Simple Program</title>
</head>
<body>
<?php
$j=1;
echo "<ul>";
for($i=1;$i<=100;$i++){
    echo "<li>";
    echo "$i";
    echo "</li>";
    if($j % 7 == 0)
 {
  
 echo "</ul>";
 echo "<ul>";
 }
  $j++;
}
echo "</ul>";

?>

</body>
</html>
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Php Attendance Tracker System
attendance ts
Attendance Tracker System is a web-based application in PHP. This project aims at managing attendance details of students so that both students and teachers have all the attendance-related information of respective subjects and respective streams. The attendance tracking system is designed in such a way that attendance information is accessible for every individual class and can be analyzed by the respective subject teacher.
Attendance Tracker System Project in PHP includes working details, modules, source code and other project files.

Note:

You can  download source code Here

Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc

With the development of technology, the communication techniques are becoming more enhanced in terms of efficiency, speed and economy. Today, chatting has been the most widely used means of communication being cheap and faster than all 
Php Chat Room Project
chat room
other communication systems. It is equally good for sending messages as well as files – documents and pictures.This Chat Room application in PHP is an online chat system developed using MySQL database. This application resembles currently popular instant messaging systems such as Yahoo and Facebook to some extent.
The project aims at facilitating instant messaging operation among the online users. 
Note:
you can download source code Here 
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc

College Networking Site, developed using PHP and MySQL database, is similar to popular social networking site like Facebook. But, it is not fully social as it is reserved for college students only. With this application, college students can share information between them such as educational materials, their profiles, images, videos, and more.
Php College Networking Site Using MySQL

Note:

You can download the complete source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
This Online Grading System is a student project titled “Online CGPA Grading Application“. It is a web-based application developed using PHP and MS-Access (back-end). The main purpose of this project is to facilitate calculation of the average marks or grades of a student through online.
Php Online Grading System


The PHP source code along with database details from the download link below. From this link, you’ll  get the project’s CSS files, database file (.mdb), image files, flash animation files and JavaScript files. Project report, documentation, design details


Note:
you can download source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc

Php Hotel Website Management SystemHotel Website Management system is a web-based application developed in PHP programming language. The main aim of the project is to create a platform to modify the website of hotels as desired by owner without the assistance of web 
developers.
After the implementation of this project, the hotel administrator himself becomes able to design the website of his hotel as per the requirement of the hotel.

Note:
You can download the full source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Online Hotel Management System is an online application developed for effective handling and overall management of hotel works. It mainly focuses on helping the hotel management staffs in tasks such as room booking process, hotel reservation process, billing process, viewing reports etc. This system creates a friendly and service motive working environment in hotels. In addition to hotel management, this project also helps customers in booking, reservation, ordering foods etc.
Php Online Hotel Management System


This project is developed using PHP and MySQL database. It is available for free download along with source code, project documentation file, project report and presentation ppt file. 


Note:
you can download source code Here 
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Online Shopping Cart is a web-based application developed using PHP coding and MySQL database. This simple project is a typical shopping cart where customers/users can fill out the purchasing data, surf through the catalog or inventory, and add the products of their interest to the cart. It is virtual cart for entering data while browsing the product catalog.

The complete source code and necessary project files of this application can be downloaded from the link below.

Php Online Shopping Cart
Note:
you can download source code Here 
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Online Shopping Project in PHP is a web-based application developed for serving shopping centers, shopping malls, etc. As the project title implies, the main aim of this project is to create a platform for online shopping. After the implementation of this project,
Php Online Shopping Project
customers can choose and order the desired stuffs from anywhere with internet access. The project promotes e-commerce and growing trade competition in the market.

Note:
you can download source code Here 
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc

Now Search Engines are the most widely used web applications for searching any related documents on the internet. Web crawler or search engines provide access to a large collection of information available on the web in an effective manner.

This Search Engine Application in PHP is a web-based search engine developed as a simple application project. Here, based on the keywords searched by the users, the search engine displays links relevant to the keywords.

Php Search Engine Application


In this application, based on the keyword searched by the user, a large number of results are displayed by the search engine. But if the same keyword is searched from another search engine application, the results may not be same. 


Note:
You can download the complete source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Developed using PHP and MySQL, this online university management system comes under the category of network-based application and management software. This project can handle the whole operations and activities of a university.
Php Online University Management System
It provides features to maintain records of students, teachers, departments, faculties, and courses with all their required details.

Note:You can download the complete source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Pharmacy Management System is a web-based application implemented in PHP using MySQL as the database. This project is developed for medical stores to manage different inventories and items, customers’ and suppliers’ details as well as staffs (cashiers, managers, and pharmacists) working in the store.


pharmacy-management-system-is-web-based.

Note:


You can download the complete source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc

Project management system or project tracking system is a web-based application developed using PHP. This is an academic project proposed with a website where students can search for projects from previous years and share their projects with friends.

Php Project Management System


The complete PHP source code and necessary project files of project management/tracking system application are available in the link below.


Note:

you can download source code Here 
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Statistics reporter is a database management software developed using PHP as front-end programming tool and MySQL as the back-end database. This application makes it easier to manage and analyze total records/data saved in the system database, total number of tables present in the database, and total space required to store the records.


This PHP mini project consists of four different source codes or PHP files.


Note:

 You can  download the source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Student Assignment Feedback System is an application developed in PHP programming language to enhance assignment collection and evaluation process. The main aim of the project is to reduce the work for lecturers by providing exact time for submitting
Php Student Assignment Feedback System
assignments and giving grades. The implementation of this project creates a friendly environment to students and teachers for exchange of assignment. The project can be use in any university or college.

Note:You can download  source code Here
Place where all sort of programming stuff and reviews,technology news are shared and Useful Project of C++,C,java C# etc
Hashcode Inside the 31-Factor Problem


F
First we look at hashcode, what is hashcode? What is the role?

hashcode is actually a hash code, using high efficiency hashcode hash algorithm to locate find the object!

We will calculate the hash code string when using containers to store data, then the data into a container.

Such as: String s = "java", then the computer will first calculate the hash code, and then placed in the appropriate array, the array index is calculated from the hash you come in, and then into the array of containers, such as List This is equivalent to you to save the data into several large parts, then every part of the store a lot of value when you query large part to check, and then in a large part of the investigation inside the small, so much faster than the first inquiry!

HashCode an object is a simple Hash algorithm, although it and the really complex! Hash algorithms can not be called a true compared to the algorithm, but how to achieve it, the level of programming issue is not just programmers, but rather to target in your very important question of access time performance is possible, may differ HashCode Object Access will make you produce hundreds of times the performance difference!

java String in this type of instance object print time is always displayed in the following form

test.Test$tt@c17164

The above is the class name $ tt test.Test I write inner classes, and what is behind @ this period be? He is actually tt instance of this class hashcode is hexadecimal!

It uses the toString () method inside ObjectJava Code. return getClass () getName () + "@" + Integer.toHexString (hashCode ());

String hashcode in java continue to see the source code:Java Codepublic int hashCode () {


int h = hash;
int len ​​= count;
if (h == 0 && len> 0)
 {
int off = offset;
char val [] = value;

for (int i = 0; i <len; i ++) {
h = 31 * h + val [off ++];
}
hash = h;
}
return h;
}

In fact, the above implementation is mathematics:Java Codes [0] * 31 ^ (n-1) + s [1] * 31 ^ (n-2) + ... + s [n-1]

Realization! We will pay attention to the idea that this factor Why do 31 on the inside to take the ride to go? Why not applicable 32 or any other number?

As we all know, the computer involves multiplication shift calculation. When a number is multiplied by 2 to get the number directly to the left one! Select 31 because 31 is a prime number!

The so-called prime numbers:


Also known prime number prime number
. It refers to a natural number greater than 1, in addition to 1 and the integer itself, but not by several other natural number divisible.

Primes in use when there is a role that if I use a number that is multiplied by this prime number, then the final out of the result can only be primes itself and there is a divisible Multiplicand! Such as: do we choose a prime number 3 factor, then 3 * n can be 1 to 3 and n or divisible, we can easily calculate that n 3n to come by. It should also be a reason!

When the stored data to calculate the hash address, we want to minimize the same hash address, so-called "conflict." If you use the same hash address data too much, then the data consisting of

hash chain even longer, thereby reducing the query efficiency! So factor in the choice of when to choose as long as possible so that the multiplication factor and try not to spill the coefficient, because if the calculated hash address the greater the

So-called "conflict" less, find them efficiency will improve.

1 31 can be represented by i * 31 == (i << 5), which has many virtual machines do related optimization, using 31 may be due to better distribution hash address, and 31 occupied 5 bits!

In java multiplication If the number is multiplied too large, the overflow problem, leading to loss of data.

And 31 is a prime number (prime number) and not very long numbers, in the end it was chosen for a reason, but coefficients are multiplied with this!