Jump to content

phpnoobietoo

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by phpnoobietoo

  1. something strange happened when i put this live onto the website. Click throughs dropped by half. I switched back to the old form and they went back to normal. Im wondering, can the users geographical location have any impact on the resulting formatting or any other aspects of the script? I understand everything is parsed on my server so i dont see how it would impact. Very strange.
  2. Thank you so much for taking the time to test and amend the code. They dont call you guru for nothing!
  3. i tried this with wamp on my local pc and setting the clock to jan 31st and the code seemed to work fine as posted originally.
  4. can i ask how i would do that? Thanks.
  5. That works perfect thank you. Now i need to work out exactly how the code worked.
  6. i wonder if anyone can help with this problem. I have a form where the dates are set (and have to be passed) in the format: &checkin_monthday=1&checkin_year_month=2012-3&checkout_monthday=2&checkout_year_month=2012-3 so my form is like this:<select id="b_checkin_month" name="checkin_year_month" onchange="checkDateOrder('b_availFrm2', 'b_checkin_day', 'b_checkin_month', 'b_checkout_day', 'b_checkout_month');"> <option value="2012-2">February &#39;12</option> <option value="2012-3">March &#39;12</option> <option value="2012-4">April &#39;12</option> <option value="2012-5">May &#39;12</option> <option value="2012-6">June &#39;12</option> <option value="2012-7">July &#39;12</option> <option value="2012-8">August &#39;12</option> <option value="2012-9">September &#39;12</option> <option value="2012-10">October &#39;12</option> <option value="2012-11">November &#39;12</option> <option value="2012-12">December &#39;12</option> <option value="2013-1">January &#39;13</option> </select> and then every month i have to manually delete the top month and add a new month at the end. is there anyway to automate this with php rather than the javascript route which means users with scripting disabled cant use the form. I saw something that suggested you can do a check for current month/year with php and then set code based on the result but understandng what to do was beyond me im afraid. Thanks in advance.
×
×
  • 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.