- Here you can find some useful PHP classes that are free on the net, and helpful for PHP Web Developers, to create and add easily various elements in your web site.

  1. PDO_MySQLi
    - PHP class to connect to MySQL and perform easily and safe SQL queries, using any of PDO, or MySQLi extensions.
  2. Read Excel file data in PHP - PhpExcelReader
    - PHP class that can be used to read Excel file data without Microsoft Office. It supports both XLS and XLSX types.
  3. PHPMailer
    - Free Email Transfer Class for PHP, supporting mail(), SMTP and POP3, HTML messages, attachments.
  4. dompdf
    - HTML to PDF converter. Create PDF files with PHP, convert HTML document to PDF.
  5. PHP Simple HTML DOM Parser
    - A HTML DOM parser written in PHP5+. This class let you manipulate HTML in a very easy way, find tags on an HTML page with selectors just like jQuery.
  6. EasyPhpThumbnail Class
    - A Free PHP class for creating thumbnails. EasyPhpThumbnail allows you to handle image manipulation and generate thumbnails for GIF, JPG and PNG on-the-fly. Resize, crop, rotate, flip, save as, shadow, watermark, reflection, and more..
  7. parseCSV
    - PHP class to read and write easily CSV data. Can filter the CSV by conditions, store CSV data into an array, convert array to CSV data.
  8. GraidleChart Create Graphic Charts
    - Lightweight PHP graphing class that creates and displays several types of graphical diagrams / charts: vertical or horizontal bar, line, spider, or pie graphs used especially in statistics, for incorporation into a website or application.

If God wants, new Free PHP Classes will be added soon.
Useful PHP Classes

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute is used in <a> tag for the address of the link?
src href rel
<a href="http://coursesweb.net/" title="CoursesWeb.net">CoursesWeb.net</a>
Which CSS property sets the type of the text font?
font-family text-decoration font-size
h2 {
  font-family:"Calibri",sans-serif;
}
What instruction selects all the <div> tags with class="cls"?
querySelector("div.cls") getElementsByTagName("div") querySelectorAll("div.cls")
var elm_list = document.querySelectorAll("div.cls");
var nr_elms = elm_list.length;       // number of selected items
alert(nr_elms);
Indicate the function that can be used to get the sum of values in an array.
array_sum() array_diff() array_shift()
$arr = array(1, 2, 3, 4);
$arr_sum = array_sum($arr);
echo $arr_sum;       // 10

Last accessed pages

  1. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (23368)
  2. HTML Course - Free Lessons (6623)
  3. Rotate HTML objects, Div, Span, images with jQuery (3815)
  4. JavaScript Course - Free lessons (9057)
  5. Recursive function to create Multi-Level Menu in PHP (3545)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (35621)
  2. PHP-MySQL free course, online tutorials PHP MySQL code (28487)
  3. Read Excel file data in PHP - PhpExcelReader (27395)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (26616)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (23368)