Đã hoàn thành

Simple Booking System

I need a simple PHP/MySQL system. (Better if it was a function to return a simple true/positive if the dates selected are available. Eg.

The user will enter 2 dates eg. 12 February 2008 and 17 February 2008, the script will check the MySQL database to see if the property is available between those dates and 0 for no.

There are 2 property's, so the script should return the id of the property that is available eg. 1 or 2

So php should be something like:

function ($startdate,$enddata)

{

// Code

// Check to see if any property is available bewteen $startdate and enddata

if ($yes)

{

$result = $propertyid

}

else

{

$result = 0

}

}

return($result)

I hope i've made it clear enough...

Kĩ năng: PHP

Xem nhiều hơn: property id, php code for booking system, result system, PHP simple, php booking script, check system, simple function, simple php user system, database system simple, php simple system, available booking database php, code system php, booking php mysql script, simple system database, simple system php, simple booking php, booking php database, database booking, system booking database mysql, function simple database, php 2008, result system php, property booking system, simple php mysql user system, database simple

Về Bên Thuê:
( 4 nhận xét ) Dromore, United Kingdom

ID dự án: #216686

Được trao cho:

imotion

Please Check PMB...iMotion

$30 USD trong 0 ngày
(111 Đánh Giá)
6.4

6 freelancer đang chào giá trung bình $30 cho công việc này

roonex

Can do this immediately

$30 USD trong 0 ngày
(159 Nhận xét)
6.3
Pektsekye

if there will be 2 properties available in the period it must return an array?

$30 USD trong 1 ngày
(107 Nhận xét)
5.6
SteeleR

i can do it.. Regards, SteeleR

$30 USD trong 1 ngày
(14 Nhận xét)
5.4
hvinaykumarnair

please check pm

$30 USD trong 1 ngày
(1 Nhận xét)
1.2
megastudios

Please go to PM

$30 USD trong 1 ngày
(0 Nhận xét)
0.0