Hello. I'm building a fairly simple mail form, you can see it here:
http://workclaims.mediaxombie/mailform2.php
I'm having an issue with the date. Basically in the select at the bottom, I want to be able to automatically insert the date for the current date and the following date to help with callbacks.
Problem is, I want to use extended date format, so 'Mon 13' instead of 13-12-10. But for some reason any time I use anything but the lowercase version of the date formats, I get what you see on the site above, some ridiculously extended and unrelated information and I'm not sure why or where its coming from.
For the date of the following day, it doesn't seem to be doing anything relevant at all.
This is what I'm using to declare the date
$currentdate=date("D-M-y");
$tomorrowdate=mktime(date("d")+1, 0,0,0,date("m"),date("y"));
And this is what I'm using to call them.
<select id='callbackday' name='callbackday'>
<option value='0'>Today " . date($currentdate) . "</option>
<option value='1'>Tomorrow" . date($tomorrowdate) . "</option>
</select>
I think maybe its something system side? Though I dont know why it only seems to apply when trying to use extended dates and I dont understand why its happening with tomorrows date at all so any help would be greatly appreciated.
Thanks for reading.