logo
May
21
Marijan Šuflaj

Multi-Language Site

It’s been a while since I last posted something because I was very busy. So let’s do something useful now. Reader Tien Phuong requested a tutorial about multi-language sites and how to create them so now I’ll try to show you one way. We’ll use database to store our translations and languages. So let’s start.

Read the rest

Oct
16
Marijan Šuflaj

PHP DomDocument Tutorial

This will be a quick tutorial that will show you how to use PHP’s DOMDocument to parse your XML so you do not have to use XML parser. In this tutorial you’ll see how to loop through your XML file and how to extract some specific data. For this, we will use XML file that is available on w3school.com.

Read the rest

Sep
2
Marijan Šuflaj

PHP Walker Class

In this tutorial we will create walker class. This class will load results by executing given SQL query and then create multidimensional array that will have entries in right position. Let’s say that you have this data in your database.

Read the rest

logo
Powered by Wordpress | Designed by Elegant Themes | CopyRight ©2010 php4every1.com