PHP Classes

File: fetchAllTest.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  HB PHP Events Calendar  >  fetchAllTest.php  >  Download  
File: fetchAllTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: HB PHP Events Calendar
Display HTML calendars with events from a database
Author: By
Last change:
Date: 5 years ago
Size: 391 bytes


Class file image Download

include 'src/calendarHTML.php';

$config = ['dbname'=>'event_calendar', 'dbhost' => 'localhost', 'dbuser' => 'root', 'dbpass' => '', 'dbtable' => 'events', 'assetsPath' => 'assets/', 'defaultDate' => date("Y-m-d")];

$events = new HBEventsCalendar\eventCalendar($config);

$events->getCalendar('all', null));

For more information send a message to info at phpclasses dot org.