Php

12 Tutorials for creating PHP5 MVC Framework

12 Tutorials for creating PHP5 MVC Framework

Here we listed  a set of thirteen good resources to help you get started and introduce you to some of the basic framework concepts. 1. PHP MVC Framework 2. PHP5 Framework 3. Your Own PHP Framework 4. Within An Hour PHP MVC Framework 5. Lightweight PHP MVC Framework 6. Learn To Build Your Own PHP Framework 7.…

Category : Php   11-04-2013   by Janeth Kent

PHP: Convert coordinates from degrees to decimal format

PHP: Convert coordinates from degrees to decimal format

  This code will convert longitude and latitude in D'M'S format into a decimal format. It also contains the function to do the reverse. The example below does contain a couple of strange lines of code. You will notice that we seperate the integer and floating point values from the decimal format…

Category : Php   11-04-2013   by Janeth Kent

PHP:EZSql class, manage your database connection easily

PHP:EZSql class, manage your database connection easily

EZSql is a php class to make it very easy to deal with database connections, there’s already an ezsql documentation: Extensive ezsql documentation Requirements Wampserver ezsql library Installation First you need to download wampserver and ezsql library. I’ve already included the links in the requirements section. Next, setup your test folder. Then create your database configuration file…

Category : Php   11-04-2013   by Janeth Kent

Php Snippet: parse url and separate all it's parts

Php Snippet: parse url and separate all it's parts

Use this snippet to get some value iside urls, for example the last directory. $url = 'https://aplicaciones.org/wp-content/uploads/2011/09/skypevideo-500x361.jpg?arg=value#anchor'; print_r(parse_url($url)); $url_path = parse_url($url, PHP_URL_PATH); $parts = explode('/', $url_path); $last = end($parts); echo $last;

Category : Php   11-04-2013   by Janeth Kent

Learning Loops in Php: FOREACH

Learning Loops in Php: FOREACH

Loops come in several different flavors in PHP: for, while, do-while, and foreach. We will introduce you to each of them in 3 lessons and we will show you how they can making repetitive tasks straightforward and easy to maintain.   Lesson #3: The foreach Loop To understand FOREACH loops you have to know the arrays. When using a loop with…

Category : Php   11-04-2013   by Janeth Kent

page=2 Clicky