Wings Cafe ordering system

Submitted by Shakhane on
This is wings café ordering system coded in php and MySQL. it is my 3rd semester project at Limkokwing University Of Creative Technology Lesotho. I just hope u will like the code and customize it to suits your projects. Requirements to run this project succefully: Any php support server MySQL for running database. Just import wings.sql (it is in the database folder) in your phpmyadmin. Thanks. If

Race Between C vs. JavaScript

Submitted by anthea on
In every programming there are a lot of languages used as a vital code and C is considered as one of the most popular language that is basically used on search engine, meanwhile in a separate survey JavaScript is now seen on top and this is based on the examining code repositories in GitHub. Gauged is the other language which is also popular by Teobe's monthly index. Gauged could be able to

Learn to Code by Breaking Someone Else Code

Submitted by anthea on
In order to break other's code, there are tips given by Nick Pettit which he set as an example for the Treehouse blog which made for those who aim to learn 3D programming in the browser as well as Testing a line in a Java script, Three.js According to the article at lifehacker, you will learn how to code by just simply breaking someone's code. An code example that uses three.js to create a light

Calculate distance between 2 IP address

Submitted by chrislim2888 on
This sample code demonstrates you on how to calculate the distance (in km, miles and nautical miles) for 2 IP addresses. In general, this sample code will retrieve the latitude and longitude from the given IP addresses and perform the distance math calculation. Note: This sample requires the IP2Location BIN database which you can download free at http://lite.ip2location.com

Homeless Leo Grand Launches Eco-Friendly Mobile App

Submitted by anthea on
Without any formal education about computer programming, Leo Grand never give up on learning new things despite of the impossibilities. As Leo Grand lives in the street of New York City, a stranger approached him and offered a choice between two months of coding lessons or $100 cash. Without any hesitation, 37-year-old Leo Grand chose for lessons as well as the 3, 621 lines of code. After he made

PHP Forms

Submitted by joken on
Using the HTML Form is very important in creating a PHP application, because it serves as a holder of information from a website's visitors and then use the PHP to process that information.

Heres the simple HTML Form.

The code below is a simple HTML Form with a two input boxes for Fullname, E-mail Address and a submit button. When the user click the submit button, the data in the form will be sent to the HTTP POST method to be processed in a PHP file called “processData.php”.

Calculate Sunrise and Sunset Value from IP Address

Submitted by chrislim2888 on
The example demonstrate you on how to calculate the sunrise and sunset value from IP address, or to be specific - the geolocation from IP address, without the use of weather library. This solution requires a geolocation table, such as the DB11.LITE database which can be downloaded free from lite.ip2location.com. I would like to keep the source code zip small, so, please download it from http:/

PHP include

Submitted by joken on
In PHP, it is necessary to use PHP include command. Because include takes a file name and simply inserts that file content into the script that issued the include command. Including files saves a lot of work, it means that you can create a standard header, footer and menu file that is available to all web pages.

PHP Comments

Submitted by joken on
One of the best programming practice is using a Comment. A comment is a string code or text within PHP or any programming languages that is not visible during the execution in your web browser. And it provides the feedback to the developers or it temporarily disable the code and the most important thing is that comment serves to give some information about the code. In PHP, there are two types of Comment.