PHP

Online Library Catalog Using PHP

Submitted by Calelih on
This system is in a title of Online Library Catalog. Admin Account Username: admin Password: admin .Search book Shelves. If book is available it will show Number of copies/Shelf number If Book Subject for replacement/Lost Won't show Copies/Shelf Number Advance it ain't complete. CSS - Bootstrap Language- PHP/MySQL

PHP Include Files

Submitted by alpha_luna on
In this tutorial, we are going to learn about PHP Include Files. This is a useful idea, you can able to include a PHP file to another PHP script or into your HTML source code on multiple pages of your system or website. For short, this function analyze and work in a specific file.

PHP Date and Time

Submitted by alpha_luna on
In this tutorial, we are going to learn about PHP Date and Time. Date and time are part of our everyday lives. PHP also provides this tools to make it work the dates and time easier. These functions allow you to get the date and time from your server where the PHP scripts are running. Then, you can use these functions to format the date and time in some ways. Note: These function it depends on your settings of your server. Installation: No need installation for these functions.

The PHP Date() Function

The PHP date() function formats a timestamp, so they are more likely human readable.

Syntax

date(format,timestamp) format - This is required field and the timestamp must be in specific format. timestamp - This is optional field and it also specific timestamp and the current date and time is default.

Simple Date

Here are commonly used of characters for dates: d - stand for the days of the month (01 - 31) m - stand for a month (01 - 12) Y - stand for a year; like (2010) (four digits) l (this is lowercase of L) - stand for the days of the week And, there are other characters can also be used for adding additional format in dates like "/", ".", or "-".

Example

This is the image result of the code below: date
  1. <?php
  2. echo "Today is " . date("l") . "<br>";
  3. echo "The date today is " . date("Y/m/d") . "<br>";
  4. echo "The date today is " . date("Y-m-d") . "<br>";
  5. echo "The date today is " . date("Y.m.d");
  6. ?>
Another example, these function used to automatic update the copyright year of your website. This is the image result of the code below: copyright

Student Registration System

Submitted by richardtamunotonye on
This program is developed using PHP, it accepts the data input and provide the following as output: 1. List of all female students who registered in your class in that particular year. 2. List of students arranged in alphabetical order of Surnames. 3. List of all students in your faculty who come from your State, but arranged according to sex.

Registration Validation by Email

Submitted by bethwel on
The following is a simple application i created with php and mysql it utilize email validations and also data encryption. It has simple registration and login page. how to use: 1.extract sample.zip 2.copy the extracted to www/ htdocs folder of your server. 3.import users.sql. 4.load localhost and signup. 4.signup to create new user.

Motor Dealer Catalog App

Submitted by shering on
Motor Dealer Catalog app. User interface (Front-end): HTML, CSS & JavaScript. Logical part / Database (Back-end): PHP & MySQL. Features:  Data consistency Easy to interact Easy to upload data and delete Easy to enter new data Easy record keeping Backup data can be easily generated Software: Xampp or Easy PHP Installation steps (configuration) 1. Unzip file on your local system 2. Put this file

Simple Music Sharing Code in PHP

Submitted by opensource on
music.initedit is made using php, mysql, ffmpeg and imagick. Update 2.0: New smooth UI. bugs removed. Feature: profile upload , Share music. play list loop Live code : http://music.initedit.com Note: you need to install ffmpeg before you install music.initedit how to install ffmpeg windows and linux: http://www.wikihow.com/Install-FFmpeg-on-Windows http://www.mysql-apache-php.com/ffmpeg-install