Jump to content


Photo

Very new and trying to take on PHP calendars

calendar help php code new

  • Please log in to reply
4 replies to this topic

#1 jinx405

jinx405

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 31 July 2013 - 04:28 PM

Hello all,

 

I just have to start by saying i am very much new to PHP. Iv only done basic things but would really like to learn more. I am also new to forums so please try see past my "not so bright" moments and help.

 

I have to build a interactive calendar. People who visit the website will select days they would like to rent the flat for. This will then make those dates unavailable for other people, so they shouldnt be able to select it. The cost of the flat will change according to date (Jan-dec : December being more expensive for christmas etc.) Rates will also influence the cost.

 

Is there some sort of tutorial or site i could visit that will show me how to do this? Or does any one maybe know how to help me?

 

I am quite despirate for help and information. Being the noob isnt exactly awesome.

 

Please, please, please help me

 

 

- Anything will help

 

 



#2 trq

trq

    Advanced Member

  • Administrators
  • 30,895 posts
  • LocationSydney, Australia.

Posted 31 July 2013 - 06:31 PM

I'm not sure you are going to find a tutorial that covers something so specific. And again, unless you have specific problems, its going to be pretty hard for people to help.

This isn't exactly the simplest of tasks for a new comer to take on. I would be more inclined (if I were you) to try and find an open source solution to your problem.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#3 jinx405

jinx405

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 31 July 2013 - 11:23 PM

Thank u so very much for your reply!!! Do you maybe know where I could find a open source interactive calendar?

I have tried but they are either not what I want or don't look very nice... I don't think I have the option of being picky though.

Thank u so very much for your reply.

:)

#4 ignace

ignace

    Now mod flavored

  • Moderators
  • 6,237 posts
  • LocationBelgium

Posted 01 August 2013 - 02:29 AM

jQuery UI has a calendar widget:
http://jqueryui.com/datepicker/#inline

It has an option to which you provide a function that tells whether it's possible to select that day.
http://api.jqueryui....n-beforeShowDay

jQuery UI has custom themes (under Gallery) or you can roll your own:
http://jqueryui.com/themeroller/

Edited by ignace, 01 August 2013 - 02:31 AM.


#5 jinx405

jinx405

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 01 August 2013 - 02:38 AM

You are amazing! hehe

 

Thank you so much for your response!

 

Im going to check it out.

 

Thanks again so very much! :happy-04:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com