Online Guest House
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Comments
Database
Misssing databaseere Is t
please would u help me?
database
Hi San, Where is the database?
Could you mail me the database at [email protected]
Thankyou
database mising
database missing
Database Missing
Please send database to [email protected]
Hello Bro can u mail me d
Database
Notice: Undefined variable: name in D:localhost hmordafeedback.php on line 94
','','','
Notice: Undefined variable: email in D:localhost hmordafeedback.php on line 99
','','',''); /*Table structure for table `room` */ DROP TABLE IF EXISTS `room`; CREATE TABLE `room` ( `roomnumber` int(100) DEFAULT NULL COMMENT ',,,, , ', `type` tinytext, `guest` tinytext, `checkin` date DEFAULT NULL, `checkout` date DEFAULT NULL, `status` int(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `room` */ /*Table structure for table `rooms` */ DROP TABLE IF EXISTS `rooms`; CREATE TABLE `rooms` ( `roomid` int(100) unsigned DEFAULT NULL, `type` tinytext, `guest` tinytext, `checkin` date DEFAULT NULL, `checkout` date DEFAULT NULL, `status` int(100) DEFAULT NULL, `noteother` tinytext ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*Data for the table `rooms` */ insert into `rooms`(`roomid`,`type`,`guest`,`checkin`,`checkout`,`status`,`noteother`) values (12,'Single (FAN) - $6 / Night','b','2013-08-26','2013-08-27',0,'Well'),(12,'Double (AC) - $16 / Night','d','2013-08-28','2013-08-29',0,'Well'); /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
can you email me the database please?
error in code
Reply for request of Database Script
FIND MISSING DATABASE
SQL Db
/*
SQLyog Ultimate - MySQL GUI v8.21
MySQL - 5.5.16 : Database - sarana
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`sarana` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `sarana`;
/*Table structure for table `admin` */
DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin` (
`username` tinytext,
`password` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `admin` */
insert into `admin`(`username`,`password`) values ('admin','admin');
/*Table structure for table `booking` */
DROP TABLE IF EXISTS `booking`;
CREATE TABLE `booking` (
`id` int(100) unsigned DEFAULT NULL,
`title` tinytext,
`firstname` tinytext,
`lastname` tinytext,
`sex` char(10) DEFAULT NULL,
`dob` date DEFAULT NULL,
`guestnumber` int(100) DEFAULT NULL,
`datein` date DEFAULT NULL,
`dateout` date DEFAULT NULL,
`roomtype` tinytext,
`email` tinytext,
`telephone` tinytext,
`address` tinytext,
`other` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `booking` */
/*Table structure for table `bookings` */
DROP TABLE IF EXISTS `bookings`;
CREATE TABLE `bookings` (
`ID` int(100) unsigned DEFAULT NULL,
`clientID` int(100) unsigned DEFAULT NULL,
`startDate` date DEFAULT NULL,
`endDate` date DEFAULT NULL,
`adults` tinytext,
`children` tinytext,
`roomType` tinytext,
`roomOptions` tinytext,
`networkConnection` tinytext,
`PC` tinytext,
`requirements` tinytext,
`datebooking` date DEFAULT NULL,
`clause` tinytext,
`noteother` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `bookings` */
/*Table structure for table `clients` */
DROP TABLE IF EXISTS `clients`;
CREATE TABLE `clients` (
`id` int(100) unsigned DEFAULT NULL COMMENT ', , , , , , , , , , ',
`title` tinytext,
`firstName` tinytext,
`lastName` tinytext,
`address1` tinytext,
`address2` tinytext,
`town` tinytext,
`province` tinytext,
`country` tinytext,
`postCode` tinytext,
`email` tinytext,
`telephone` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `clients` */
insert into `clients`(`id`,`title`,`firstName`,`lastName`,`address1`,`address2`,`town`,`province`,`country`,`postCode`,`email`,`telephone`) values (NULL,'Mr','Phearum','Kem','Khmer','sd','a','d','ad','1111111','[email protected]','012121212');
/*Table structure for table `feedback` */
DROP TABLE IF EXISTS `feedback`;
CREATE TABLE `feedback` (
`id` int(100) unsigned DEFAULT NULL,
`title` tinytext,
`Name` tinytext,
`position` tinytext,
`company` tinytext,
`email` tinytext,
`telephone` tinytext,
`address` tinytext,
`comment` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `feedback` */
insert into `feedback`(`id`,`title`,`Name`,`position`,`company`,`email`,`telephone`,`address`,`comment`) values (NULL,'Mr. ','
Notice: Undefined variable: name in D:localhost hmordafeedback.php on line 94
','','','
Notice: Undefined variable: email in D:localhost hmordafeedback.php on line 99
','','','');
/*Table structure for table `room` */
DROP TABLE IF EXISTS `room`;
CREATE TABLE `room` (
`roomnumber` int(100) DEFAULT NULL COMMENT ',,,, , ',
`type` tinytext,
`guest` tinytext,
`checkin` date DEFAULT NULL,
`checkout` date DEFAULT NULL,
`status` int(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `room` */
/*Table structure for table `rooms` */
DROP TABLE IF EXISTS `rooms`;
CREATE TABLE `rooms` (
`roomid` int(100) unsigned DEFAULT NULL,
`type` tinytext,
`guest` tinytext,
`checkin` date DEFAULT NULL,
`checkout` date DEFAULT NULL,
`status` int(100) DEFAULT NULL,
`noteother` tinytext
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `rooms` */
insert into `rooms`(`roomid`,`type`,`guest`,`checkin`,`checkout`,`status`,`noteother`) values (12,'Single (FAN) - $6 / Night','b','2013-08-26','2013-08-27',0,'Well'),(12,'Double (AC) - $16 / Night','d','2013-08-28','2013-08-29',0,'Well');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Add new comment
- Add new comment
- 493 views