PHP

PHP easter_days()

Submitted by alpha_luna on

PHP easter_days()

easter_days() function returns the number of days after March 21, on which Easter falls for a specified year.
Syntax of this function:
easter_days(year,method) year - defines the year to calculate the midnight on Easter from. If the year parameter is omitted, the current year is used. (optional) method - allows you to calculate Easter dates based on other calendars. E.g. it uses the Gregorian calendar during the years 1582 - 1752 when set to CAL_EASTER_ROMAN.

How to Convert Julian Day into a Specified Calendar in PHP

Submitted by alpha_luna on

PHP cal_from_jd()

The cal_from_jd() function converts the specified Julian day into a date of the specified calendar.

Syntax of this function:

cal_from_jd(jd,calendar) jd - A number (a Julian day count). (required) calendar - specifies the calendar to use. (required) The following calendar values can be used:
  • CAL_GREGORIAN
  • CAL_JULIAN
  • CAL_JEWISH
  • CAL_FRENCH

Prison Management System Online mysql/pdo v2

Submitted by theadmiraleliud on
This system is about prison management system online where we have the following module 1.prisoners records 2. prisoners transfers 3. officers 4.prisoners officers transfer 5.location of prisons 6.admin module 7.law enforcement module 8.data entry 9.new prison prisoner and officer transfer 11.report 12.new user

Creating and Populating table with MySQL Data using Twitter Bootstrap framework

Submitted by GeePee on
In this tutorial, I’m going to discuss how to use the Twitter Bootstrap to create a table and populate this table with records from MySQL database using PHP. Using Bootstrap framework, you can save more time when working with different browsers and or devices.

How to create a Sign up Page Using Twitter Bootstrap

Submitted by GeePee on
In this tutorial, I'm going to show you how to create a Sign up page using the twitter bootstrap framework. Using bootstrap framework, it has a ready made piece of code and you can save time because it easy to use, fast and better. If you don’t have this framework yet, you can download it here. After downloading, create a new folder and name it as “signup”. Then save this to our local server.

Social Networking Site: Improving of Login System using Advance PHP

Submitted by GeePee on
In this tutorial, we will focus on how to improve our PHP code in more dynamic ways using Object Oriented Programming. To start with this application, open first our web directories then look for the index.php file and make a copy of it, and name the old “index.php” into” index_basic.php”. Then inside the includes folder, look for the “member.php” and open it because we’re going to add another static function that will be used during the user authentication.

Creating a Registration Page Part I

Submitted by GeePee on
In this tutorial, I will show you how create our Registration Page using Bootstrap framework. The Registration form together with the Login form will welcome you when you access the site. And it will require the new member to register on the site, so that they can login and to have access to the site. First, create a PHP file named “index.php”, save it inside “philsocial” folder. And this PHP file is composed of different parts.