Skip to content

PHP class for booking integration Web-site to HRC system

Notifications You must be signed in to change notification settings

HRCTeam/hrc-reservation-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

HRC Reservation PHP Class

How to use

require_once('HRCReservation.php');
$error = false;

try {
    $reservation = new HRCReservation('demo.key');
   
    try {
        $reservation->send($_POST['date'], $_POST['time'], $_POST['name'], $_POST['phone'], $_POST['count'], $_POST['message']);
    } catch (Exception $exception) {
        $error = $exception->getMessage();
    }
} catch (Exception $exception) {
    $error = $exception->getMessage();
}

About

PHP class for booking integration Web-site to HRC system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages