<?php include_once "../../../vendor/autoload.php"; use App\Bitm\SEIP118719\Birthday\Birthday; $birth_obj = new Birthday(); $birth_objs = $birth_obj->index(); ?> <!DOCTYPE html> <!-- If you want you can open this template any browser. There is no any cross-browser problem. Author:Suraiya Aysha(Asa)-SEIP118719 --> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>List of all Birthday</title> <!--All Font Link Start--> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,800italic,800,700,700italic,600italic,600,400italic,300,300italic' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Raleway:400,300,500,600,700,800,900' rel='stylesheet' type='text/css'> <!--All Font Link End--> <!--All CSS Style Link Start--> <link href="../../../resource/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="../../../resource/css/bootstrap.min.css"> <link rel="stylesheet" href="../../../resource/style.css"> <!--All CSS Style Link End-->
<?php include_once "../../../vendor/autoload.php"; //using relative path //include_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'AtomicProject'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php'); //using absolute path use App\Bitm\SEIP118719\Birthday\Birthday; $birth_obj = new Birthday($_POST); $birth_obj->store();
<?php include_once "../../../vendor/autoload.php"; //using relative path //include_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'AtomicProject'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php'); //using absolute path use App\Bitm\SEIP118719\Book_Title\Book_Title; use App\Bitm\SEIP118719\Utility\Utility; use App\Bitm\SEIP118719\Birthday\Birthday; $birthday = new Birthday($_POST['name']); $birthday = new Birthday($_POST['date']); $message = $birthday->store($birthday); echo $message; //Utility::redirect();