PHP

How to Create Secure Registration Page in PHP/MySQL Part I

Submitted by GeePee on
By secured we mean that we need to sanitize the data that is passed to our script in order to secure the registration of new account or user. There are three different types of connectivity in MySQL. They are: mysql = old MySQL function mysqli = improved MySQL function pdo = using prepared statement Mysql_connect is currently not supported in PHP version 5.5.0.

Add, Edit, Delete with data table using PHP/MySQL

Submitted by alpha_luna on
This simple project is created using PHP and it's a database driven using mysql as a database. This project is intended for beginners in PHP. It has a basic PHP code so everyone who is new to this programming language can easily understand and learn. Hope this simple project will help you in your future project.

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.