Jump to content

Php Calendar and calling data from another table?


Mr Chris

Recommended Posts

Dear All,

I’ve been asked to look at designing a content managed property website was wondering if anyone could help me behind the theory of how I could do two things in PHP, which I’m stuck on?

Rental days

On the site when a user clicks on a property for rent they want a calendar to appear showing the dates that the property is available for hire, with the days it’s not out for hire greyed out.

How could I make this content managed, so that in the CMS I could specify what dates the property was not for hire throughout the months of the year, and the days it was for hire?

features

In the CMS they also want to add features. IE have a page where they can add a feature such as swimming pool. These details are then saved in a features table in a mysql database

Then I also have a page called add_properties page, which each property details are saved in a properties table in the mysql database.

So could I get the add_properties page to pull out the content as a list from the add_features mysql table and then save the details it pulls out in the properties table?

If anyone could explain in simple terms if these could be achieved and possibly point out some links to some tutorials if this has been done before I’d be most greatful. ;-)

Thanks

Chris
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.