In Progress

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...

Skills: PHP

See more: property id, php code 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, database simple, booking function

About the Employer:
( 4 reviews ) Dromore, United Kingdom

Project ID: #216686

Awarded to:

imotion

Please Check PMB...iMotion

$30 USD in 0 days
(111 Reviews)
6.4

6 freelancers are bidding on average $30 for this job

roonex

Can do this immediately

$30 USD in 0 days
(159 Reviews)
6.3
Pektsekye

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

$30 USD in 1 day
(107 Reviews)
5.6
SteeleR

i can do it.. Regards, SteeleR

$30 USD in 1 day
(14 Reviews)
5.4
hvinaykumarnair

please check pm

$30 USD in 1 day
(1 Review)
1.2
megastudios

Please go to PM

$30 USD in 1 day
(0 Reviews)
0.0