Small statistic

This statistic i made from one of my website’s(education cathegory: http://www.xaricidil.net ) user database.(i made it in 2009-09-19)

Users – gender
Male – 55.33 %
Female – 44.67 %.

Users – emails
Mail.ru – 31.8 %
Yahoo! – 18.7 %
Box.az – 10.4 %
Hotmail – 8.1 %
Gmail – 7.5 %
Other mails – 23.5 %.

Users – education
Secondary school – 15.8 %
Bachelor – 51.3 %
Master degree – 9.9 %
Doctorate degree – 1 %
Graduated – 11.1 %
Other – 10.9 %

Very interesting results. 🙂

Using classes in PHP

Class in PHP is very useful tool. Using classes is object-oriented part of php. Simple sample:
Create class.php and write this code there:

class myobject {

function f1 ($variable1,$variable2);
{
echo $variable1.’ – ‘.$variable2;
}

}

Then create index.php file and place this code there:

include(“class.php”);
mynewobject=new myobject();

$mynewobject->f1(‘Name’,’Surname’);

The resut will be such:

Name – Surname